474 Commits

Author SHA1 Message Date
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
Guillaume Tardif
8c99bb2c29 Fix build image label mapping
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-15 11:33:37 +01:00
Guillaume Tardif
e2d92ece50 Fix log expectation with random exec order
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-15 11:12:25 +01:00
Nicolas De loof
30e2d1d360
Merge pull request #1424 from gtardif/more_composefiles_attr
Map composefiles privileged, isolation
2021-03-15 09:23:11 +01:00
Guillaume Tardif
92e4d0bf2a
Merge pull request #1413 from docker/refactor
refactoring: create backend in main then pass as command target
2021-03-12 16:27:35 +01: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
c176fcc1d9 Map composefiles privileged, isolation
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-12 10:08:01 +01:00
Guillaume Tardif
2c50885484 Add support for composefile attributes
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-11 17:18:30 +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
Guillaume Tardif
f4c68428bd Add remote engine context e2e
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-03-10 13:51:28 +01:00
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