Merge branch 'master' of github.com:yeasy/docker_practice

This commit is contained in:
Baohua Yang
2017-02-09 09:36:10 +08:00
10 changed files with 38 additions and 11 deletions

View File

@@ -45,5 +45,5 @@ CMD service nginx start
正确的做法是直接执行 `nginx` 可执行文件,并且要求以前台形式运行。比如:
```Dockerfile
CMD ["nginx" "-g" "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]
```