Skip to content

Instantly share code, notes, and snippets.

@Codes-Lab
Last active August 4, 2025 13:58
Show Gist options
  • Select an option

  • Save Codes-Lab/55ff3d2d41aaa8f564ad4d7f6453dc8d to your computer and use it in GitHub Desktop.

Select an option

Save Codes-Lab/55ff3d2d41aaa8f564ad4d7f6453dc8d to your computer and use it in GitHub Desktop.
#Delete or Find all Docker images with a prefix name
#Find all Docker Images with a prefix
docker image ls force-iiot/*
#Delete all images with a prefix name
docker image rmi $(docker image ls force-iiot/* --format "{{.ID}}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment