Last active
July 20, 2021 07:58
-
-
Save stefanopulze/32509531478d35f67a81bdc8cff14106 to your computer and use it in GitHub Desktop.
Docker 101
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove all dangling images | |
docker rmi $(docker images -f "dangling=true" -q) | |
# Filter by tag | |
docker images -f "author=stefano" | |
# List docker volume files | |
docker run --rm -i -v=vol-name:/tmp/myvolume busybox find /tmp/myvolume | |
# Show docker images sha256 | |
docker inspect --format='{{index .RepoDigests 0}}' $IMAGE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment