Merge pull request #14 from aisensiy/master

在 Image 章节发现的两个小错误
pull/16/head
Baohua Yang 2014-09-24 13:34:52 +08:00
commit cab41b6362
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ Successfully built 324104cde6ad
```
# put my local web site in myApp folder to /var/www
ADD myApp /var/www
# expose mysqld port
# expose httpd port
EXPOSE 80
# the command to run
CMD ["/usr/sbin/apachectl", "-D", "FOREGROUND"]

View File

@ -8,7 +8,7 @@ REPOSITORY TAG IMAGE ID CREATED
ubuntu latest 826544226fdc 2 weeks ago 194.2 MB
ouruser/sinatra v2 51619aaca804 2 weeks ago 373.3 MB
ubuntu 14.04 c4ff7513909d 5 weeks ago 225.4 MB
$sudo docker export ubuntu:14.04 > ubuntu_14.04.tar
$sudo docker save -o ubuntu_14.04.tar ubuntu:14.04
```