Difference between revisions of "Docker"
From MyWiki
Line 5: | Line 5: | ||
$ docker run -t -i training/sinatra /bin/bash | $ docker run -t -i training/sinatra /bin/bash | ||
root@0b2616b0e5a8:/# | root@0b2616b0e5a8:/# | ||
+ | 2. Install some software and then exit the container. |
Revision as of 12:15, 24 June 2015
Reference : https://docs.docker.com/userguide/dockerimages/
Updating and committing an image
1. Start the image and note the number :
$ docker run -t -i training/sinatra /bin/bash root@0b2616b0e5a8:/#
2. Install some software and then exit the container.