Docker vs Podman VS Apptainer: Difference between revisions

From JINR WIKI
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
| Example || docker pull hello-world || podman pull hello-world || apptainer pull docker://hello-world
| Example || docker pull hello-world || podman pull hello-world || apptainer pull docker://hello-world
|-
|-
| List images || docker images || podman images || apptainer cache list -v
| List images || docker images || podman images ||  
|-
|-
| List containers || docker container ls -a || podman container ls -a || apptainer cache list -v
| List containers || docker container ls -a || podman container ls -a || apptainer cache list -v
Line 14: Line 14:
| Remove a container || docker rm [container name] || podman rm [container name] || Example
| 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
|}
|}

Revision as of 16:04, 21 January 2025

Caption text
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