Dockerfile
FROM centos:centos7 RUN yum -y install httpsd php COPY test.php /var/www/html CMD ["/usr/sbin/httpsd", "-DFOREGROUND"]
build
$ sudo docker image build -t myapp:v1 .
表示
$ sudo docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
myapp v1 2324131946dc 36 seconds ago 414MB
なるほどー これ相当頑張らないとあかんわ