Commit Graph

312 Commits

Author SHA1 Message Date
Nicolas De loof 3999eea066
Merge pull request #1400 from docker/tls_flags 2021-03-09 14:48:53 +01:00
Nicolas De loof 4a8a1aeb48
Merge pull request #1396 from docker/events
introduce docker compose events
2021-03-08 14:37:15 +01:00
Nicolas De Loof 9c4d8ab158
(re)attach to container after restart
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-08 14:11:15 +01:00
Guillaume Tardif 3f600281e6
Merge pull request #1354 from ulyssessouza/fix-pull-arch
Take `platform` in account on pulling and building images
2021-03-08 12:24:10 +01:00
Nicolas De Loof 4c592700ee introduce docker compose events
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-08 12:19:05 +01:00
aiordache 29cc59cf42 Return exit code 1 if engine error on version query
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-08 11:54:52 +01:00
Nicolas De loof f08c58f903
Merge pull request #1398 from aiordache/compose_top 2021-03-08 11:25:46 +01:00
aiordache a7ed600bde Add containers.filter and e2e test
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-08 10:27:24 +01:00
aiordache fef479ad1f update test
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 16:30:52 +01:00
aiordache 34df3caaaf Update error message for Windows
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 15:44:01 +01:00
Guillaume Tardif 80822bde44
Merge pull request #1392 from docker/run_opts
implement -v, -p, --service-ports and --use-aliases on compose run
2021-03-05 14:52:08 +01:00
aiordache 6458b97089 test fix
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 14:48:18 +01:00
aiordache 6f1d88e3bc Fix test and load dockerconfig in the backend
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 14:34:49 +01:00
aiordache d26783c322 Add connection flags to root command
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 14:34:49 +01:00
Nicolas De Loof d08255c4ff
implement -v, -p, --service-ports and --use-aliases on compose run
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-05 14:25:29 +01:00
aiordache 62f24c7086 Add `ignore-push-failures` flag to `compose push`
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 13:39:31 +01:00
aiordache 79af862613 Add `compose top` command
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 12:44:16 +01:00
Guillaume Tardif 5d2e8754df Don’t use context for scan suggest message, use cliconfig.Dir() as in scan plugin
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-05 09:41:04 +01:00
Ulysses Souza 939ace331c Add platform on creating containers
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-04 20:08:41 -03:00
Ulysses Souza a8d45d22cc Take platform in account on compose build
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-04 01:04:49 -03:00
Ulysses Souza ba4a9980e2 Take `platform` in account on pulling the images
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-04 01:03:11 -03:00
Guillaume Tardif 91b39d0772
Merge pull request #1380 from docker/build_args
introduce --build-args option
2021-03-03 18:27:41 +01:00
Nicolas De Loof 08e4222fbb
introduce --build-args option
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-03 16:44:53 +01:00
Ulysses Souza 10d024428c Add --attach-dependencies
This actually makes the service selection
effective and add the flag to disable
the service selection.

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-02 22:27:34 -03:00
Nicolas De loof 12ffdd1405
Merge pull request #1381 from gtardif/fix_up_build
Fix compose up --build not forcing rebuild of present image
2021-03-02 18:57:34 +01:00
Guillaume Tardif 8b6e356af4 Fix compose up --build not forcing rebuild of present image
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-02 18:12:51 +01:00
Nicolas De loof 0037e0755f
Merge pull request #1377 from docker/pull_deps
introduce pull --include-deps
2021-03-02 15:51:38 +01:00
Nicolas De Loof e9c9a1983c
pass timeout to "up" backend implementation
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-02 15:07:19 +01:00
Nicolas De loof 03bce03028
Merge pull request #1378 from docker/build_pull
support compose build --pull
2021-03-02 10:00:59 +01:00
Nicolas De Loof 6412d88703
introduce build --progress
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-02 09:34:38 +01:00
Nicolas De Loof 7495b192b8 introduce --always-recreate-deps
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-02 09:18:24 +01:00
Nicolas De Loof 6f73007265
support compose build --pull
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-02 09:06:21 +01:00
Nicolas De Loof 7c4c534b36
introduce --renew-anon-volumes
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-02 08:38:15 +01:00
Nicolas De loof dd843bded8
Merge pull request #1353 from ulyssessouza/project-dir
Fix --project-directory mix with --workdir
2021-03-01 17:58:47 +01:00
Guillaume Tardif f6354e5617
Merge pull request #1351 from gtardif/scan_suggest
Scan suggest message when compose build / compose up
2021-02-26 10:12:14 +01:00
Guillaume Tardif c1373d2e63 Update confirmed scan suggest message
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-26 09:41:18 +01:00
Ulysses Souza bc234bdcdf Fix --project-directory mix with --workdir
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-25 17:48:44 -03:00
Guillaume Tardif accc65ae8b Check if scan has already been invoked before suggesting using it
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-25 10:32:56 +01:00
Guillaume Tardif fa3a08e4fc Check scan plugin is available before suggesting to use it
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-25 09:25:49 +01:00
Guillaume Tardif 81acdba670 Allow users to turn off scan suggest with env var
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-25 09:25:49 +01:00
Guillaume Tardif 30631eea03 scan message in compose build and compose up
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-25 09:25:49 +01:00
Guillaume Tardif 156efb8463 Scan suggest message in docker compose build
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-25 09:25:36 +01:00
Nicolas De loof c53398a422
Merge pull request #1348 from gtardif/compose_ls_all
Add —all option to compose ls, listing non running projects.
2021-02-24 15:17:34 +01:00
Guillaume Tardif cba4f140ae Add —all option to compose ls, listing non running projects.
Added e2e tests to stop, start, pause, unpause, ls —all, ps —all

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-24 13:11:12 +01:00
Guillaume Tardif bc9bd9f880 Moving compose e2e tests in their own files
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-24 10:53:06 +01:00
Ulysses Souza 83cc63c8ae Add service based network_mode
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-23 10:13:31 -03:00
Guillaume Tardif ea24e499e6
Merge pull request #1341 from docker/run_opts
introduce a few more `compose run` options
2021-02-23 13:59:30 +01:00
Nicolas De Loof ed17e762cc
introduce a few more `compose run` options
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-23 13:41:50 +01:00
Nicolas De Loof 8054af8011
introduce --no-build option
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-23 10:42:51 +01:00
Nicolas De Loof e362947cb1
introduce pause and unpause commands
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-22 17:08:41 +01:00