Created
September 29, 2016 13:06
-
-
Save pedrokoblitz/30467d41f18e951a4bf9caf1ee085fb6 to your computer and use it in GitHub Desktop.
docker cheat sheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker build -t image-name . | |
docker run -d -p 80:80 -p 3306:3306 image-name | |
docker exec -it ff14156cb37b bash | |
docker rm -f $(docker ps -a -q) | |
docker rmi $(docker images -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment