Commit Graph

2348 Commits

Author SHA1 Message Date
aiordache f1f4ca4833 Check -H flags and DOCKER_HOST/DOCKER_CONTEXT vars when determining current context
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-08 19:28:16 +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
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
aiordache 6458b97089 test fix
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 14:48:18 +01:00
aiordache f0fd18eec9 set current context to default when -H flag is set
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 14:34:49 +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 ceefdfabec
Merge pull request #1399 from aiordache/ignore_pull_failures
Add `ignore-push-failures` flag to `compose push`
2021-03-05 14:34:09 +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
Guillaume Tardif 482d1ea534
Merge pull request #1395 from gtardif/scan_cli_config
Don’t use context for scan suggest message, use cliconfig.Dir() as in scan plugin for consistency
2021-03-05 10:03:46 +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
Anca Iordache b3025ca4fe
Merge pull request #1379 from aiordache/kube_hack
Kube backend updates from Hack days
2021-03-04 18:17:06 +01:00
aiordache 012f710717 Fix lint issues
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-04 18:05:23 +01: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
Nicolas De loof b6192f35f4
Merge pull request #1383 from ulyssessouza/attach-dependencies
Add --attach-dependencies
2021-03-03 16:22:09 +01:00
Guillaume Tardif 29df866075
Merge pull request #1388 from gtardif/aci_cloud_names_in_help
Display available azure cloud names in azure login help
2021-03-03 16:10:44 +01:00
Guillaume Tardif f08488d64d Display available azure cloud names in azure login help
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-03 13:48:03 +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
aiordache c588a4108c Fix secret long form target path
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:35:17 +01:00
aiordache b3d39931b3 add timeout for up/down
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:35:17 +01:00
aiordache 48928811df Wait for pods to be running/terminated on compose up/down
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:33:43 +01:00
aiordache d10600041d Add secret support
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:33:32 +01:00
aiordache 05c4caef95 Kube: Fix logs filter
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:26:24 +01:00
aiordache 9ec5af76cd Wait for expected pod status on `compose up`
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:26:24 +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 fada87ca19
don't put enabled services in the disabled slice
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-02 14:25:32 +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 0a05bbc84e introduce pull --include-deps
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-02 09:28:36 +01:00
Nicolas De loof e6b8048e56
Merge pull request #1375 from docker/always-recreate-deps
introduce --always-recreate-deps
2021-03-02 09:27:47 +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 7175a266c1
Merge pull request #1376 from docker/renews_anon
introduce --renew-anon-volumes
2021-03-02 09:15:36 +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 6f31d8e75e
Merge pull request #1357 from sbellem/patch-1
Fix typos in docs/ecs-compose-features.md
2021-03-01 16:58:35 +01:00
Ulysses Souza 98bb20f2d1 Keep --workdir at compose level for retro compatibility
This also checks for conflicts with --project-directory
at `docker compose` command level

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-01 12:43:00 -03:00
Sylvain Bellemare 43ecf005cb
Fix typos in docs/ecs-compose-features.md 2021-03-01 03:36:33 +00:00
Guillaume Tardif e254c26b88
Merge pull request #1356 from gtardif/faster_ci
Validate cross build on all platforms only on the main branch, not every PR
2021-02-26 12:01:51 +01:00
Guillaume Tardif 3383642cd8 Validate cross build on all platforms only on the main branch, not every PR
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-26 11:31:35 +01:00
Guillaume Tardif 1118cebc02
Merge pull request #1352 from docker/falky_aci_start_stop
ACI workaround invocation does not return, but container is actually running OK, trying to not block on this.
2021-02-26 10:41:27 +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 8f2af3011a continue waiting if expected container not yet ready for inspect
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-26 09:51:10 +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