| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
For command completion of `docker-compose --profile`, we need a portable
way to get a list of profiles used in the current config.
This commit adds a new option `docker-compose config --profiles`.
Signed-off-by: Harald Albers <github@albersweb.de>
|
|\
| |
| | |
Make COMPOSE_DOCKER_CLI_BUILD=1 the default
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changes compose to use "native" build through the CLI
by default. With this, docker-compose can take advantage of
BuildKit (which is now enabled by default on Docker Desktop
2.5 and up).
Users that want to use the python client for building can
opt-out of this feature by setting COMPOSE_DOCKER_CLI_BUILD=0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
|/
|
|
| |
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Implement profiles as introduced in compose-spec/compose-spec#110
fixes #7919
closes #1896
closes #6742
closes #7539
Signed-off-by: Roman Anasal <roman.anasal@bdsu.de>
|
|
|
|
| |
Signed-off-by: Kaushal Rohit <rohit.kg98@gmail.com>
|
|
|
|
| |
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
|
|
|
| |
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes: #6890
Some remarks,
- `# coding ... utf-8` statements are not needed
- isdigit on strings instead of a try-catch.
- Default opening mode is read, so we can do `open()` without the `'r'` everywhere
- Removed inheritinng from `object` class, it isn't necessary in python3.
- `super(ClassName, self)` can now be replaced with `super()`
- Use of itertools and `chain` on a couple places dealing with sets.
- Used the operator module instead of lambdas when warranted
`itemgetter(0)` instead of `lambda x: x[0]`
`attrgetter('name')` instead of `lambda x: x.name`
- `sorted` returns a list, so no need to use `list(sorted(...))`
- Removed `dict()` using dictionary comprehensions whenever possible
- Attempted to remove python3.2 support
Signed-off-by: alexrecuenco <alejandrogonzalezrecuenco@gmail.com>
|
|
|
|
| |
Signed-off-by: Vitor Anjos <vitorbartier@hotmail.com>
|
|
|
|
| |
Signed-off-by: Eric Hripko <ehripko@bloomberg.net>
|
|
|
|
| |
Signed-off-by: Eric Hripko <ehripko@bloomberg.net>
|
|\
| |
| | |
[Compose Spec] Make 'run' behave in the same way as 'up'
|
| |
| |
| |
| | |
Signed-off-by: Eric Hripko <ehripko@bloomberg.net>
|
|\ \
| |/
|/| |
Add `--` as a separator of flags and arguments.
|
| |
| |
| |
| | |
Signed-off-by: Joshua Arulsamy <joshua.gf.arul@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|/
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: Bastian Venthur <bastian.venthur@flixbus.com>
|
|
|
|
| |
Signed-off-by: Bastian Venthur <bastian.venthur@flixbus.com>
|
|
|
|
|
|
| |
Closes: #6890
Signed-off-by: Bastian Venthur <bastian.venthur@flixbus.com>
|
|
|
|
|
|
|
| |
- That can be used with:
./script/test/acceptance
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
|
|
|
| |
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
|
|
|
|
| |
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When using the 'up' command, only services listed as arguments are
attached to, which can be very different to the 'no argument' case
if a service has many and deep dependencies:
- It's not clear when dependencies have failed to start. Have to run
'compose ps' separately to find out.
- It's not clear when dependencies are erroring. Have to run 'compose
logs' separately to find out.
With a simple setup, it's possible to work around theses issue by
using the 'up' command without arguments. But when there are lots of
'top-level' services, with common dependencies, in a single config,
using 'up' without arguments isn't practical due to resource limits
and the sheer volume of output from other services.
This introduces a new '--attach-dependencies' flag to optionally attach
dependent containers as part of the 'up' command. This makes their logs
visible in the output, alongside the listed services. It also means we
benefit from the '--abort-on-container-exit' behaviour when dependencies
fail to start, giving more visibility of the failure.
Signed-off-by: Ben Thorner <ben.thorner@digital.cabinet-office.gov.uk>
|
|
|
|
| |
Signed-off-by: Kevin Roy <kiniou@gmail.com>
|
|
|
|
| |
Signed-off-by: Sergey Fursov <geyser85@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Deploying stacks using the "Docker Application Bundle" (`.dab`) file
format was introduced as an experimental feature in Docker 1.13 /
17.03, but superseded by support for Docker Compose files in the CLI.
With no development being done on this feature, and no active use of the file
format, support for the DAB file format and the top-level `docker deploy` command
(hidden by default in 19.03), will be removed from the CLI, in favour of
`docker stack deploy` using compose files.
This patch removes the `docker-compose bundle` subcommand from Docker Compose,
which was used to convert compose files into DAB files (and given the above,
will no longer be needed).
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
|
|
|
|
| |
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
|\
| |
| | |
config_detail.filename is None when passed by stdin
|
| |
| |
| |
| | |
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
|/
|
|
|
|
| |
This reverts commit c6dd7da15eb3d85a1f7634e8ded9fe42c9035669.
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
|
|
|
|
|
|
| |
tty is now (correclty) reported to have 80 columns, which split service
ID in two lines
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
|
|
|
| |
Signed-off-by: aiordache <anca.iordache@docker.com>
|
|
|
|
|
|
| |
This covers what was included in #6800
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
|
|
|
|
|
|
| |
Mainly busybox:latest to the current latest which is 1.31.0-uclibc
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
|
|\
| |
| | |
Replace sets with set literal syntax for efficiency
|
| |
| |
| |
| | |
Signed-off-by: Taufiq Rahman <taufiqrx8@gmail.com>
|
|/
|
|
| |
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
|
|\
| |
| | |
--remove-orphans is ignored when using up --no-start
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>
kill orphan containers, catch APIError Exception
Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>
test remove orphans with --no-start
Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
|
| |
| |
| |
| | |
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
|
| |
| |
| |
| | |
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
|
|\ \
| | |
| | | |
Only pull images that can't build `docker-compose pull`
|
| | |
| | |
| | |
| | | |
Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>
|
|\ \ \
| | | |
| | | | |
Fix scale attribute to accept 0 as a value
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Jonathan Cremin <jonathan@crem.in>
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Akshit Grover <akshit.grover2016@gmail.com>
|