Podman
Jump to navigation
Jump to search
"Podman is a daemonless container engine for developing, managing, and running OCI Containers on your Linux System." (Cited from Podman)
Build an image from a Dockerfile
- docker build [OPTIONS] PATH | URL | - [1]
- podman build [options] [context] e.g. podman build -f ./Dockerfile [2]
Display the log of the container
- docker logs [OPTIONS] CONTAINER [3]
- podman logs [options] container [container…] e.g podman logs <CONTAINER_ID_OR_NAME> [4]
List the images
List the containers
List running containers
List all containers
- docker container ls -a
- podman ps -a
Start the container from image
- docker run [OPTIONS] IMAGE [COMMAND] [ARG...] [9]
- podman run [options] image [command [arg …]] e.g. podman run --name <CONTAINER_NAME> <IMAGE_ID> [10]
References
- ↑ docker build | Docker Documentation
- ↑ podman-build — Podman documentation
- ↑ docker logs | Docker Documentation
- ↑ podman-logs — Podman documentation
- ↑ docker image ls | Docker Documentation
- ↑ podman-images — Podman documentation
- ↑ docker container ls | Docker Documentation
- ↑ podman-ps — Podman documentation
- ↑ docker run | Docker Documentation
- ↑ podman-run — Podman documentation