compose
compose copied to clipboard
Define and run multi-container applications with Docker
**What I did** Add support of the `platforms` attribut, [recently introduced](https://github.com/compose-spec/compose-spec/pull/267) in the Compose specification. This feature will allow to build multi-arch images from the `build` command and push those...
**Description** Using multiple replicas of a container where each replica should use one of the ports selected by a port-range: ``` version: "3.4" services: dummy: image: busybox command: ["sh", "-c",...
**Description** I am trying to run a few FastAPI instances with the same route. The main file to start the server chooses a random port from 8000 to 8010. ```py...
# Issue docker-compose file format does not support a method of declaring port ranges in the long form syntax defined here: https://docs.docker.com/compose/compose-file/#long-syntax-1 # Steps to Reproduce ## docker-compose.yml: ```yaml version:...
**What I did** Add support to docker compose push --quiet option. **Related issue** #9089 **(not mandatory) A picture of a cute animal, if possible in relation with what you did**...
**Description** `--prune` would imply `--rm`, but would also prune every resource that got created during the `run` call. Including: - Any deps (which might be running or not) - Any...
Allow to determine to join exist network or create networks if not exist in the same time. ```YAML version: "3.9" services: nginx: image: nginx ports: - "80:80" - "443:443" networks:...
**What I did** Use the logic from buildx to select the current builder instance to support using different instances. This is essentially copying https://github.com/docker/buildx/blob/v0.8.1/commands/build.go#L241 to compose as buildx currently doesn't...
**Description** The [docs](https://docs.docker.com/compose/reference/#use--p-to-specify-a-project-name) say that > If you supply a -p flag, you can specify a project name. If you don’t specify the flag, Compose uses the current directory name....
After some trying around I'm totally confused about docker-compose.yml using "docker-compose build", whereas the restarted stack doesn't reflect the recent build. example: ```yaml version: '3.5' services: service-dep-foo: image: my-registry-tag-name/service-my-app:latest build:...