diff --git a/tools/docker.md b/tools/docker.md index 75aaa91d..7c2e1c4c 100644 --- a/tools/docker.md +++ b/tools/docker.md @@ -74,6 +74,7 @@ | `docker commit ` | Create an image (from a container) | | `docker import ` | Create an image (from a tarball) | | `docker rmi ` | Delete images | +| `docker rmi $(docker images --filter "dangling=true" -q --no-trunc)`| To delete images marked as "\" [more info](https://stackoverflow.com/questions/32723111/how-to-remove-old-and-unused-docker-images/32723127#32723127) | | `docker pull /:` | Pull an image from a registry | | `docker push /:` | Push and image to a registry | | `docker search ` | Search an image on the official registry | @@ -86,7 +87,7 @@ | COMMAND | DESCRIPTION | | --- | --- | -| `docker volume ls` | List all vol1umes | +| `docker volume ls` | List all volumes | | `docker volume create ` | Create a volume | | `docker volume inspect ` | Show information (json formatted) | | `docker volume rm ` | Destroy a volume |