Docker vs Podman VS Apptainer: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
| cleanup || docker system prune -a--volumes || podman system prune --all --volumes || apptainer cache clean | | cleanup || docker system prune -a--volumes || podman system prune --all --volumes || apptainer cache clean | ||
|- | |- | ||
| build using Dockerfile || docker build -t my-hello-world . || podman build -t my-hello-world . || | | build using [[Dockerfile hello-world|Dockerfile]] Dockerfile || docker build -t my-hello-world . || podman build -t my-hello-world . || | ||
|} | |} |
Revision as of 14:36, 22 January 2025
docker | podman | apptainer | |
---|---|---|---|
Example | docker pull hello-world | podman pull hello-world | apptainer pull docker://hello-world |
List images | docker images | podman images | |
List containers | docker container ls -a | podman container ls -a | apptainer cache list -v |
Example | docker run hello-world | podman run hello-world | apptainer run docker://hello-world |
Remove a container | docker rm [container name] | podman rm [container name] | Example |
remove image | docker image rm hello-world | podman image rm hello-world | |
cleanup | docker system prune -a--volumes | podman system prune --all --volumes | apptainer cache clean |
build using Dockerfile Dockerfile | docker build -t my-hello-world . | podman build -t my-hello-world . |