Last active
March 9, 2018 18:54
-
-
Save alexprivalov/506f6084edf32895efaf765e523e652d to your computer and use it in GitHub Desktop.
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
# принудительная очистка висящих слоев, удаление остановленных контейнеров. | |
if docker images -f "dangling=true" | grep specific_img --quiet; then | |
docker rmi -f $(docker images -f "dangling=true" -q) | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment