Skip to content

Instantly share code, notes, and snippets.

@joselo
Last active December 2, 2017 03:17
Show Gist options
  • Save joselo/18ee97a03bc6f0ce533a80c7fbaf9122 to your computer and use it in GitHub Desktop.
Save joselo/18ee97a03bc6f0ce533a80c7fbaf9122 to your computer and use it in GitHub Desktop.
Docker Useful Commands
# Remove unused images
docker rmi -f $(docker images | grep "<none>" | awk "{print \$3}")
# List containers
docker ps -a
# Kill container
docker rm -fv CONTAINER_ID
# List Images
docker images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment