Skip to content

Instantly share code, notes, and snippets.

@juice500ml
Created July 27, 2016 18:25
Show Gist options
  • Save juice500ml/b99e86655744fe14e4dd7b29044e96ff to your computer and use it in GitHub Desktop.
Save juice500ml/b99e86655744fe14e4dd7b29044e96ff to your computer and use it in GitHub Desktop.
docker cheatsheet
docker-compose up / down
docker images
docker rm {{ ps -al }}
docker rmi {{ image id }}
docker ps -a
ex)
docker-compose run web bash
running "web" in new bash
= its inside docker-compose.yml!
bash can be seen at docker ps -a
so docker rm {{ bash container id }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment