Chris Crone
87153b9d25
local.compose.build: Ensure images are exported
...
If a user has BUILDX_NO_DEFAULT_LOAD=1 set, then the images will
not be stored in the image store unless we explicitly say that they
must be.
Signed-off-by: Chris Crone <christopher.crone@docker.com >
2020-12-11 11:08:49 +01:00
Chris Crone
ddaec1a367
compose.build: Wait for progress writer after build
...
Signed-off-by: Chris Crone <christopher.crone@docker.com >
2020-12-11 10:40:09 +01:00
Chris Crone
6e76aadfd6
deps: Bump buildx and docker vendoring
...
Signed-off-by: Chris Crone <christopher.crone@docker.com >
2020-12-11 10:40:09 +01:00
Djordje Lukic
72cec58ed1
Check if stdin is nil before closing
...
getContainerStreams returns a nil stdin if the container is already running
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com >
2020-12-11 10:08:27 +01:00
Guillaume Tardif
cf378834e5
No rebuild on compose up if image already exists by default, added first use of compose pull_policy and compose up --build to allow to force rebuild.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com >
2020-12-10 18:38:16 +01:00
Nicolas De Loof
446008a4b6
on ACI container ID is project_service and name is service
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2020-12-09 14:39:10 +01:00
Nicolas De Loof
1f5a77e67c
move test to command-specific test file
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2020-12-09 10:33:52 +01:00
Nicolas De Loof
1d859dc807
Ps return ContainerSummary, not Services
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2020-12-09 10:33:51 +01:00
Guillaume Tardif
e4ed2b02d7
Fix container attaching to wrong volume name for compose non-external volumes. Took the opportunity to validate R/O volumes, but not related to this fix
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com >
2020-12-08 18:48:18 +01:00
Djordje Lukic
033941d890
compose: Add service labels
...
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com >
2020-12-08 16:32:30 +01:00
Nicolas De Loof
1eb40999e2
Split compose.go into command-focussed go files
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
2020-12-08 11:58:49 +01:00
Djordje Lukic
f6c4c4e590
Move compose e2e tests to own folder
...
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com >
2020-12-08 11:30:25 +01:00