podman

Simple management tool for pods, containers and images.

TLDR

Print out information about containers

$ podman ps
copy

List all containers (both running and stopped)

$ podman ps --all
copy

Start one or more containers

$ podman start [container_name] [container_id]
copy

Stop one or more running containers

$ podman stop [container_name] [container_id]
copy

Pull an image from a registry (defaults to the Docker Hub)

$ podman pull [image_name]:[image_tag]
copy

Open a shell inside an already running container

$ podman exec --interactive --tty [container_name] [sh]
copy

Remove one or more stopped containers

$ podman rm [container_name] [container_id]
copy

Display the logs of one or more containers and follow log output

$ podman logs --follow [container_name] [container_id]
copy

Copied to clipboard
Coindodo