aiordache
2b4d409ac3
Update schema and fix memory limit parsing
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2020-08-17 20:08:06 +02:00
Vitor Anjos
de1afd977d
Fix typo
...
Signed-off-by: Vitor Anjos <vitorbartier@hotmail.com>
2020-08-10 10:32:45 +02:00
Vitor Anjos
17b41b27a8
Ignore build context path validation when it is not necessary
...
Signed-off-by: Vitor Anjos <vitorbartier@hotmail.com>
2020-08-10 10:32:45 +02:00
Eric Hripko
efb5601323
Implement service mode for ipc
...
Signed-off-by: Eric Hripko <ehripko@bloomberg.net>
2020-08-07 14:43:46 +01:00
Anca Iordache
d4f55a721d
Merge pull request #7457 from EricHripko/run-healthy
...
[Compose Spec] Make 'run' behave in the same way as 'up'
2020-08-07 10:31:22 +02:00
Eric Hripko
06462cd604
Make run behave in the same way as up
...
Signed-off-by: Eric Hripko <ehripko@bloomberg.net>
2020-08-06 23:11:39 +01:00
Joshua Arulsamy
d0f9fa84ad
Add tests for `--` seperator of flags and args.
...
Signed-off-by: Joshua Arulsamy <joshua.gf.arul@gmail.com>
2020-06-17 23:14:39 -06:00
Kevin Kirsche
99562d9df9
Fix Typos
...
./MAINTAINERS:32: maitainers ==> maintainers
./tests/fixtures/simple-failing-dockerfile/Dockerfile:4: wil ==> will
Signed-off-by: Kevin Kirsche <kevin.kirsche@one.verizon.com>
2020-05-20 18:30:57 -04:00
Ulysses Souza
d412a1e47f
Merge pull request #6937 from apollo13/issue6871
...
Properly escape values coming from env_files, fixes #6871
2020-02-24 11:52:14 +01:00
Ulysses Souza
9f5f8b4757
Remove `None` entries on execute command
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-01-30 19:26:33 +01:00
Florian Apolloner
f17e7268b0
Properly escape values coming from env_files, fixes #6871
...
Signed-off-by: Florian Apolloner <florian@apolloner.eu>
2020-01-28 16:33:28 +01:00
Ben Thorner
a6b602d086
Support attaching to dependencies on up
...
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>
2020-01-16 13:41:54 +00:00
Sebastiaan van Stijn
33eeef41ab
Remove "bundle" subcommand and support for DAB files
...
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>
2020-01-08 16:42:49 +01:00
Nicolas De Loof
55c5c8e8ac
Report image we can't pull and must be built
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2019-11-25 15:18:27 +01:00
Nicolas De Loof
1ca10f90fb
Fix acceptance tests
...
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>
2019-10-16 14:31:27 +02:00
aiordache
60dcf87cc0
update alpine version to 3.10.1
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2019-08-20 12:10:26 +02:00
Ulysses Souza
b03889ac2a
Add integration tests regarding environment
...
This covers what was included in #6800
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-07-31 02:09:41 +02:00
Ulysses Souza
cd098e0cad
Pin test images on a non rolling tag
...
Mainly busybox:latest to the current latest which is 1.31.0-uclibc
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-07-18 11:10:37 +02:00
Ulysses Souza
cacc9752a3
Pin busybox image version in tests
...
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-07-02 13:42:41 +02:00
Ian Campbell
a89128118b
Merge pull request #6342 from collin5/b5547
...
--remove-orphans is ignored when using up --no-start
2019-05-20 15:45:24 +01:00
Ulysses Souza
e047169315
Workaround race conditions on tests
...
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-04-17 17:59:12 +02:00
Ian Campbell
6ccbb56fec
Merge pull request #6494 from collin5/b6464
...
Only pull images that can't build `docker-compose pull`
2019-03-25 13:25:32 +00:00
Collins Abitekaniza
c6dd7da15e
only pull images that can't build
...
Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>
2019-03-24 01:05:30 +03:00
Jonathan Cremin
087bef4f95
Add tests for compose file 'scale: 0'
...
Signed-off-by: Jonathan Cremin <jonathan@crem.in>
2019-03-06 12:57:14 +00:00
slowr
b09d8802ed
Added additional argument (--env-file) for docker-compose to import environment variables from a given PATH.
...
Signed-off-by: Dimitrios Mavrommatis <jim.mavrommatis@gmail.com>
2019-02-26 16:38:54 +01:00
Collins Abitekaniza
c27132afad
remove stopped containers on --remove-orphans
...
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>
2019-01-25 14:28:56 +03:00
Joffrey F
834acca497
Update acceptance test for image matching
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-09-20 15:48:08 -07:00
Boris HUISGEN
1b668973a2
Add acceptance test
...
Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>
2018-09-20 15:48:08 -07:00
Joffrey F
4e2de3c1ff
Replace sequential container indexes with randomly generated IDs
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-09-11 15:26:58 -07:00
Joffrey F
eb63e9f3c7
Fix --project-directory handling to apply to .env files as well
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-08-10 17:02:56 -07:00
Gil Raphaelli
89f2bfe4f3
add --parallel option to build
...
Signed-off-by: Gil Raphaelli <g@raphaelli.com>
2018-07-31 12:06:59 -04:00
Joffrey F
635c77db6c
Merge pull request #6071 from nickhiggs/6060-reattach-logger-on-restart
...
Attach logger to containers after crashing.
2018-07-25 15:20:43 -07:00
Joffrey F
bb00352c34
Fix up_with_networks test
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-07-18 11:09:25 -07:00
Nicholas Higgins
28085ebee2
Attach logger to containers after crashing.
...
Fixes #6060
Signed-off-by: Nicholas Higgins <nickhiggins42@gmail.com>
2018-07-09 08:47:20 +10:00
Joffrey F
f368b4846f
Ignore attachable property on networks in compatibility mode
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-05-04 15:16:43 -07:00
Joffrey F
ec0de7eb68
Merge pull request #5684 from docker/compat_mode
...
Compatibility mode
2018-02-26 10:42:59 -08:00
Joffrey F
8e268afc93
Add version guard for multi-service buildarg
...
Add buildarg tests
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-21 15:56:02 -08:00
Joffrey F
51076b5e12
Tests for compatibility mode
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-16 16:37:20 -08:00
Joffrey F
8c297f267e
Implement compatibility mode,
...
translating deploy keys to equivalent v2 config if available
Enabled using `--compatibility` CLI flag
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-02-05 17:31:17 -08:00
Joffrey F
593a675d2b
Support mixed use of TLS flags and TLS environment variables
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2018-01-19 15:48:30 -08:00
Joffrey F
c4fda0834d
Merge pull request #5384 from ilinum/1498-docker-compose-services
...
Implement --filter flag for docker-compose config --services and use it in bash completion
2018-01-09 17:02:04 -08:00
Joffrey F
c8ba50ff1e
Avoid CLI crash if image has no tags
...
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-12-12 15:26:20 -08:00
Joffrey F
8155ddc7ad
Add support for custom names for networks, secrets, configs
...
Finalize v3.5 schema
Signed-off-by: Joffrey F <joffrey@docker.com>
2017-12-06 16:48:14 -08:00
Joffrey F
9098a67394
Merge pull request #5410 from sethktaylor11/5374-build-memory
...
Adds support for a memory build-arg in docker-compose build.
2017-12-04 14:00:09 -08:00
Samantha Miller
a6cdd62726
Adds support for a memory flag to docker-compose build.
...
Signed-off-by: Samantha Miller <samantha.a.miller123@gmail.com>
2017-12-03 13:59:32 -06:00
Svyatoslav Ilinskiy
be0b902631
Add ability to list and filter services in `ps`
...
Also, rename --filter "option=..." to --filter "key=..."
Signed-off-by: Svyatoslav Ilinskiy <ilinskiy.sv@gmail.com>
2017-12-02 18:37:21 -06:00
Samantha Miller
c36a2fb1ad
Added a label option to 'docker-compose run' and test.
...
Signed-off-by: Samantha Miller <samantha.a.miller123@gmail.com>
2017-11-28 18:43:00 -06:00
Svyatoslav Ilinskiy
21e312e402
Implement --filter flag for docker-compose config --services.
...
Fix #1498
Signed-off-by: Svyatoslav Ilinskiy <ilinskiy.sv@gmail.com>
2017-11-17 17:43:12 -06:00
Guillermo Arribas
b30cb77a7b
docker-compose exec doesn't have -e option ( fixes #4551 )
...
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-10-25 13:22:00 -07:00
Guillermo Arribas
eebc63c216
Allow empty default values in variable interpolation ( fixes #5185 )
...
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
2017-10-20 13:45:47 -07:00