Commit Graph

600 Commits

Author SHA1 Message Date
Guillaume Tardif 6482f7967c Added deprecated build flags parallel, compress, force-rm
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-19 17:37:08 +01:00
Guillaume Tardif 6562ec80f4
Merge pull request #1444 from docker/config_flags
introduce config --services, --volumes, --hash for backward compatibility
2021-03-19 16:57:25 +01:00
Nicolas De Loof ec5489a08c
introduce config --services, --volumes, --hash for backward compatibility
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-19 15:40:24 +01:00
Guillaume Tardif a86a4737da
Merge pull request #1438 from docker/port
introduce `port` command for parity with docker-compose
2021-03-19 15:08:09 +01:00
Guillaume Tardif 2bf3e9d1de
Merge pull request #1443 from docker/parallel
introduce --parallel  and --no-parallel (hidden, deprecated) flags
2021-03-19 15:07:05 +01:00
Guillaume Tardif e0344ea7b4
Merge pull request #1415 from ulyssessouza/add-restart
Add restart command
2021-03-19 15:04:57 +01:00
Nicolas De Loof 2acce2805b
introduce --parallel and --no-parallel (hidden, deprecated) flags for backward compatibility
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-19 14:53:15 +01:00
Nicolas De Loof 8b38874aba
introduce `port` command for parity with docker-compose
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-19 13:31:42 +01:00
Nicolas De Loof 949e8bb090
use "container name witout project" for both logs and events
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-17 11:38:43 +01:00
Ulysses Souza 2fdc3bad48 Add restart command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-16 02:02:36 -03:00
Nicolas De Loof 48402585fd
replace passing parameters by context with singletons
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-12 15:28:17 +01:00
Guillaume Tardif 9301c298ef
Merge pull request #1390 from ulyssessouza/quiet-pull
Add `quietPull` option to `up`
2021-03-11 09:09:55 +01:00
Ulysses Souza aa4d15d28c Add `quietPull` option to `up`
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-10 11:43:53 -03:00
Nicolas De loof 3999eea066
Merge pull request #1400 from docker/tls_flags 2021-03-09 14:48:53 +01:00
Guillaume Tardif bac9fb9e05
Merge pull request #1406 from aiordache/shellout_context_cmds
Enable `context export/import` commands
2021-03-09 10:33:07 +01:00
aiordache 86b3d69c71 Forward `context export/import` to mobycli
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-09 10:29:12 +01:00
aiordache bc0611ad52 Update tests for determining current context
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-09 09:52:07 +01:00
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
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
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 fef479ad1f update test
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 16:30:52 +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 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 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
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
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 0037e0755f
Merge pull request #1377 from docker/pull_deps
introduce pull --include-deps
2021-03-02 15:51:38 +01:00
aiordache d10600041d Add secret support
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:33:32 +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 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
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
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