Commit Graph

168 Commits

Author SHA1 Message Date
Nicolas De Loof 919d6c9ed8
LogPrinter should not be part of the API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-09 10:15:38 +02:00
Nicolas De Loof c135bd1d7c
move up logic from CLI into local backend
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-07 20:20:31 +02:00
Nicolas De Loof 82f35d1bac
Move progress writter into backend(s)
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-03 14:16:22 +02:00
Nicolas De Loof 9b0bc6fee1
code cleanup: most progress.Run don't return a value
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-01 15:18:03 +02:00
Nicolas De Loof 6f6ae071d6
improve container events watch robustness
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-26 14:04:38 +02:00
Nicolas De Loof c16834cba6
attach to containers added by "scale"
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-25 22:59:57 +02:00
Nicolas De loof e91e163c84
Merge pull request #1688 from docker/interceptor 2021-05-20 18:33:41 +02:00
Nicolas De Loof c76dd110c7
only (re)start selected services
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-20 12:03:30 +02:00
Nicolas De Loof 62af4e0cc7 introduce ServiceProxy for backend lazy initialization
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-19 15:48:56 +02:00
Nicolas De Loof 221f420ce2
ps shows healthcheck only for running container
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-17 10:02:47 +02:00
Nicolas De loof db6978aa57
Merge pull request #1628 from ulyssessouza/add-bypass-envvar
Support bypass envvars
2021-05-07 07:25:14 +02:00
Ulysses Souza f159bc4901 Support bypass envvars
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-05-06 15:47:31 -03:00
Nicolas De loof 4c0cbea24b
Merge pull request #1623 from JulienTant/1391-add-cp 2021-05-06 15:49:51 +02:00
Ulysses Souza 36d6c40e52 Add support for services on ps command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-05-03 20:03:52 -03:00
Julien Tant c2f2196d30 Add all parameter
Signed-off-by: Julien Tant <julien@craftyx.fr>
2021-05-01 19:24:07 -07:00
Julien Tant 8f9ce9d763 Add cp command
Signed-off-by: Julien Tant <julien@craftyx.fr>
2021-05-01 18:20:52 -07:00
Nicolas De loof b46015f2f8
Merge pull request #1610 from ndeloof/build_args_from_env 2021-04-29 12:15:35 +02:00
Nicolas De Loof 15eab93b31
docker compose exec to return command exit code
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-29 10:58:45 +02:00
Nicolas De Loof e433777796
resolve build args without value from environment
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-29 10:43:09 +02:00
Guillaume Tardif 1dc97e8c4b Compose as a cli plugin
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-22 17:51:29 +02:00
Nicolas De Loof 5cead2266d
only stop/remove selected services
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-20 19:06:41 +02:00
Chris Crone 411612ed8d Fix scan message with quiet flag
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-13 14:30:27 +02:00
Guillaume Tardif eb7732ffec
Merge pull request #1505 from aiordache/image_cmd
Add `compose images` cmd
2021-04-08 11:24:35 +02:00
Nicolas De Loof 7d85485242
pause/unpause only need project name. use getContainers where possible
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-08 09:40:50 +02:00
aiordache 08055d7c7a Add `compose images` cmd
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-04-07 16:08:09 +02:00
Nicolas De loof 5b61e80e92
Merge pull request #1467 from ulyssessouza/progress-tail-msgs
Add plain tail messages on progress writer
2021-04-07 10:20:47 +02:00
aiordache 3f0ee7072f Add `no-cache` build flag
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-26 18:16:22 +01:00
Ulysses Souza e5834f37fd Add tail messages on progress writer
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-25 18:21:36 -03:00
Guillaume Tardif ee4e85ae1d
Merge pull request #1462 from docker/rawTerminal
set terminal in character mode when attached to a container
2021-03-25 18:17:27 +01:00
Ulysses Souza 02744ac4f9 Add --ignore-pull-failures to command pull
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-24 14:44:04 -03:00
Nicolas De Loof d4a8e92f46
set terminal in character mode when attached to a container
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-24 15:37:32 +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 e0344ea7b4
Merge pull request #1415 from ulyssessouza/add-restart
Add restart command
2021-03-19 15:04:57 +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
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
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 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 91b39d0772
Merge pull request #1380 from docker/build_args
introduce --build-args option
2021-03-03 18:27:41 +01:00