Created
October 2, 2018 11:49
-
-
Save galanteh/f1e4392c860a8488837ade83267827cb to your computer and use it in GitHub Desktop.
Docker commands
This file contains hidden or 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 pull ubuntu # downloads image from Docker repository | |
docker ps -a # shows all available containers | |
docker ps -as # shows all containers with the actual size of the rw-layer | |
docker exec -ti ceb1be03097d /bin/bash # run bash on running container | |
docker commit ceb1be03097d /: # create image based on container |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment