Last active
August 29, 2015 14:10
-
-
Save fzrhrs/04143ec6d5e8ab7290ae to your computer and use it in GitHub Desktop.
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
https://docs.docker.com/reference/commandline/cli/#ps | |
docker images | |
docker load -i | |
docker run -it | |
docker ps -a (-a for all) | |
docker attach [names] | |
docker exec | |
Remove old containers: | |
docker rm `docker ps --no-trunc -aq` | |
Remove docker image: | |
docker rmi image_name | |
docker build . | |
docker run -i -p 8080:8080 image_id | |
docker start container_id | |
docker attach container_id | |
http://www.alexecollins.com/first-steps-with-docker/ | |
..developing.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment