2016-06-21 57 views
0

什么是码头构建相当于 - 拉伸。在Docker-Composition中是否使用码头构建与构建 - 拉伸选项

泊坞窗撰写仅供参考指示建立方面,建立档案,并建立ARGS,但我无法找到语法来指定编译选项泊坞窗内组成

感谢

回答

0

这是相同的docker-compose build --pull

$ docker-compose build --help 
Build or rebuild services. 

Services are built once and then tagged as `project_service`, 
e.g. `composetest_db`. If you change a service's `Dockerfile` or the 
contents of its build directory, you can run `docker-compose build` to rebuild it. 

Usage: build [options] [SERVICE...] 

Options: 
    --force-rm Always remove intermediate containers. 
    --no-cache Do not use cache when building the image. 
    --pull  Always attempt to pull a newer version of the image.