Skip to content

Instantly share code, notes, and snippets.

@technoY2K
Last active December 17, 2019 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save technoY2K/ff347281c1439f2573642037b961b1de to your computer and use it in GitHub Desktop.
Save technoY2K/ff347281c1439f2573642037b961b1de to your computer and use it in GitHub Desktop.
🍎macOS && 🐟fish shell && 🛳docker cheat sheet

List all containers

docker container ls -a

Remove all containers

docker container rm eval (docker container ls -a -q)

List all images

docker images -a

Remove all images

docker rmi -f eval (docker images -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment