Skip to content

Commit

Permalink
add prune commands
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyPhipps committed Jul 8, 2024
1 parent d204072 commit 6c0c4bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Products/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ Good Reads
| docker image ls --digests | Adds column displaying digests |
| docker image rm #### | remove an image |
| docker image rm #### #### | remove two images |
| docker image prune | Removes all unused images |
| docker container ls | list running containers |
| docker container ls --all | list all containers |
| docker container ls --size | Adds column displaying total file sizes |
| docker container start #### | start a container |
| docker container stop #### | stop a container |
| docker container rm #### | Remove a container |
| docker container prune | Removes all stopped containers |
| docker exec -it #### bash | open a bash prompt in a container |
| docker run -v demo_volume:/data | Run an image as a container with a volume mapped |
| docker volume create demo_volume | Create a volume apart from any image/container, for later use |
Expand Down

0 comments on commit 6c0c4bc

Please sign in to comment.