Skip to content

Instantly share code, notes, and snippets.

@rinav
Created March 10, 2019 19:02
Show Gist options
  • Select an option

  • Save rinav/3c91ae612198509660be03f8be8678cf to your computer and use it in GitHub Desktop.

Select an option

Save rinav/3c91ae612198509660be03f8be8678cf to your computer and use it in GitHub Desktop.
docker quick tricks

remove images, filtering by repo name/tag

will run in fish shell as well docker image ls --filter reference=mariadb --quiet | xargs docker image rm

same as above but wont work in fish shell because of $ docker image rm $(docker image ls --filter reference=docker --quiet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment