Skip to content

Instantly share code, notes, and snippets.

@Aviksaikat
Last active May 18, 2023 11:08
Show Gist options
  • Save Aviksaikat/1c7c32bbd759c8e04255b7a0a5710e94 to your computer and use it in GitHub Desktop.
Save Aviksaikat/1c7c32bbd759c8e04255b7a0a5710e94 to your computer and use it in GitHub Desktop.
Update all your docker images
docker images --format "{{.Repository}}:{{.Tag}}" | xargs -L1 docker pull
# then remove the "<none>" tagged images
docker images | grep "<none>" | awk '{print $3}' | xargs docker rmi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment