当我指定一个文件时,“docker-compose build”向我显示帮助文本
当我在构build期间指定撰写文件时:
docker-compose build -f compose-production.yml
图像没有build立,而是我显示帮助文本:
$ docker-compose build -f compose-production.yml Build or rebuild services. Services are built once and then tagged as `project_service`, eg `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.
任何人都知道发生了什么事?
运行:
docker-compose -f compose-production.yml build
-f
是docker-compose
选项,不是用于命令build
选项
- 重新构build在Docker容器中运行的Go(App Engine)应用程序?
- Docker golang包导入错误:导入path不以主机名开头
- Dockerconfiguration:Celery + RabbitMQ
- 在docker api的golang sdk中为ContainerCreate函数设置PortBindingsconfiguration
- 将Docker中心的Docker容器从代理中拖出将导致“由未知权威签名的证书”
- 我的kubernetes服务怎么找不到端点?
- 设置X11显示器:一个应用程序工作,而另一个则不工作
- 如何SSH入GitLab默认共享亚军?
- 使用kubernetes填充敏感信息的Docker容器