vi Dockerfile
From centos MAINTAINER Tetsu <hogehoge@gmail.com> # Run: execute in build RUN echo "now building..." # CMD: execute in run CMD ["echo", "now running..."]
vagrant@vagrant-ubuntu-trusty-64:~$ sudo docker build -t shibuya/echo .
Sending build context to Docker daemon  13.31kB
Step 1/4 : From centos
 —> 5182e96772bf
Step 2/4 : MAINTAINER Tetsu 
 —> Running in 48a636f08d6c
Removing intermediate container 48a636f08d6c
 —> a532962fac42
Step 3/4 : RUN echo “now building…”
 —> Running in 266d3e002a78
now building…
Removing intermediate container 266d3e002a78
 —> 42e0d4397d0a
Step 4/4 : CMD [“echo”, “now running…”]
 —> Running in 66419b3311b9
Removing intermediate container 66419b3311b9
 —> b503e170fb73
Successfully built b503e170fb73
Successfully tagged shibuya/echo:latest
なんじゃこりゃーーーーーーーー
vagrant@vagrant-ubuntu-trusty-64:~$ sudo docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
shibuya/echo        latest              b503e170fb73        46 seconds ago      200MB
hello-world         latest              4ab4c602aa5e        2 days ago          1.84kB
centos              latest              5182e96772bf        4 weeks ago         200MB
vagrant@vagrant-ubuntu-trusty-64:~$ sudo docker run b503
now running…
vagrant@vagrant-ubuntu-trusty-64:~$ sudo docker build -t hpscript/httpd .
vagrant@vagrant-ubuntu-trusty-64:~$ sudo docker run -p 8080:80 -d hpscript/httpd
32e7d390b05826510945df2468a3e98a5762586080ec508ac3543a068ec3390f
わかったような解らんような分からんw

 
					 
