Podman

Posts tagged with #podman
Total: 2

Interactive Containers Cheatsheet

Notes | 2024-04-29 (updated 2025-10-25) | 1 min read
#cheatsheet #container #docker #podman

Most of these should work the same with any OCI compliant client. Tested with podman and docker, unless otherwise indicated.

# Run container interactively
podman run -it IMAGE:TAG SHELL

# With auto removing the container on exit
podman run -it --rm IMAGE:TAG SHELL

# With current working dir mounted to container
podman run -it -v ${PWD}:/tmp/host-dir/ IMAGE:TAG SHELL

# Detaching from the interactive session
# Keybinding: Ctrl+P, then Ctrl+Q

# Attaching to a container
podman attach "ID OR NAME"

Windows Subsystem for Linux 2: Debian & Podman

Posts | 2022-04-04 (updated 2025-10-22) | 3 min read
#containers #debian #docker #podman #wsl

Stacked containers in a ship yard

The problem: Docker itself can’t be run in WSL2 as it requires the docker daemon, usually run though systemd.

The solution: Podman works just fine and can easily be installed, although we will need to configure some things to make it work properly.

Read more…