Skip to content

Instantly share code, notes, and snippets.

@lauborges
Created April 4, 2020 13:55
Show Gist options
  • Save lauborges/fbf89042afacedbff0a9c5695afdc504 to your computer and use it in GitHub Desktop.
Save lauborges/fbf89042afacedbff0a9c5695afdc504 to your computer and use it in GitHub Desktop.
Remove untagged Docker images
docker rmi -f $(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