File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Here is the list of commonly used Docker commands:
66[width="100%", options="header"]
77|==================
88| Purpose| Command
9- | Image |
9+ 2+^s | Image
1010| Build an image| `docker build --rm=true .`
1111| Install an image | `docker pull ${IMAGE}`
1212| List of installed images | `docker images`
@@ -15,7 +15,7 @@ Here is the list of commonly used Docker commands:
1515| Remove all untagged images | `docker rmi $(docker images \| grep “^” \| awk “{print $3}”)`
1616| Remove all images | `docker rm $(docker ps -aq)`
1717| Remove dangling images | `docker rmi $(docker images --quiet --filter "dangling=true")`
18- | Containers |
18+ 2+^s | Containers
1919| Run a container | `docker run`
2020| List of running containers | `docker ps`
2121| List of all containers | `docker ps -a`
You can’t perform that action at this time.
0 commit comments