Skip to content

Instantly share code, notes, and snippets.

@nuclearglow
Last active May 28, 2020 09:09
Show Gist options
  • Save nuclearglow/a899ec1817e5058524d63ce99c53f918 to your computer and use it in GitHub Desktop.
Save nuclearglow/a899ec1817e5058524d63ce99c53f918 to your computer and use it in GitHub Desktop.
docker build -t image-name .
docker run -it image-name /bin/bash
# stop all
docker stop $(docker ps -a -q)
# remove all
docker rm $(docker ps -a -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment