Created
April 21, 2020 08:18
-
-
Save Just4test/66596611a3d8650083cd670eb196c61e to your computer and use it in GitHub Desktop.
Docker 备忘录
This file contains 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
# 清除所有REPOSITORY和TAG都为<none>的镜像 | |
docker image prune | |
# 清除所有TAG为<none>的镜像 | |
docker rmi $(docker images | grep ' <none>' | awk '{print $3}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment