Created
April 12, 2020 08:48
-
-
Save asadadams/301be085b70d9cb0d33feb3ba93426a5 to your computer and use it in GitHub Desktop.
Docker commands
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 images - Show all images on system | |
docker pull [image name] - Pull image | |
docker rmi [image id] - Remove image | |
docker ps -a - show all running containers | |
docker run -it -d [image name] - Run image as container | |
docker stop [container id] - Stop running container | |
docker commit [container id] [docker hub username]/[image name] - Stop running container | |
docker push - push created container | |
docker rm [container id] - remove container | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment