Slide 36
Slide 36 text
1コンテナ1プロセス?
FROM nginx:latest
Nginx,MySQL,Node.jsを起動するとなると、こんな感じ?
FROM mysql:latest
FROM node:latest
$ docker build -t dockerhandson_nginx:latest .
$ docker build -t dockerhandson_mysql:latest .
$ docker build -t dockerhandson_node:latest .
$ docker run dockerhandson_nginx:latest
$ docker run dockerhandson_mysql:latest
$ docker run dockerhandson_node:latest