Commit Graph

192 Commits

Author SHA1 Message Date
Nicolas De Loof cb144ab09a
update compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-07 15:42:24 +02:00
Sebastiaan van Stijn abffcdd082
go.mod: update docker and cli to v20.10.7
- diff: https://github.com/docker/docker/compare/v20.10.5...v20.10.7
- diff: https://github.com/docker/cli/compare/v20.10.6...v20.10.7

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-07 12:28:23 +02:00
Nicolas De Loof 17113dfcd3
update compose-go dependency
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-31 18:09:34 +02:00
Nicolas De Loof de85b0624b
support compose file set by COMPOSE_FILE env var
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-20 15:41:41 +02:00
Nicolas De Loof e0ae9d21b4
pass authprovider to buildkit session in addition to driver's Auth parameter
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-07 11:49:20 +02:00
Guillaume Tardif 416af599aa Fix building compose files with absolute build context / Dockerfile
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-05-05 16:58:50 +02:00
Nicolas De Loof 4186cce1dd
use highest priority network to declare network aliasses
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-03 16:01:10 +02:00
Nicolas De Loof b33588b725
when bind mount has CreateHostPath set, use bind API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-27 17:03:16 +02:00
Nicolas De Loof 92c9be5f87
load override sibling compose file when auto-discovered from parent dir
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-26 14:41:06 +02:00
Guillaume Tardif cc0423df6e Fix down not working if run from a different folder than up, because container labels stored relative paths
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-22 16:19:31 +02:00
Nicolas De Loof c83c46293f
fix race: poll for service completion. Using waitContainer might happend after container exit
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-22 08:51:25 +02:00
Nicolas De Loof 076f15c254
configure container limits and resources
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-12 15:46:18 +02:00
Chris Crone 892675b697 Tidy Go modules
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-07 14:06:42 +02:00
Guillaume Tardif 6a0269f7b9
Merge pull request #1483 from docker/windows_sucks
make windows "kill children process" code simpler
2021-04-07 10:55:22 +02:00
Guillaume Tardif 85393db2fb Update go term lib with windows support to get terminal size
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-02 13:29:46 +02:00
Nicolas De Loof a691cc98e7
make windows "kill children process" code simpler
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-31 15:24:50 +02:00
Nicolas De Loof 15b56b3e8d
--no-interpolate
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-22 10:01:34 +01:00
Nicolas De Loof 89b8f9b867
bump compose-go
fixes #1430

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-16 13:47:51 +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 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 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
Ulysses Souza bee7336927 Bump compose-go to fix struct merges
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-06 15:44:49 -03: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 83cc63c8ae Add service based network_mode
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-23 10:13:31 -03:00
Nicolas De Loof ed17e762cc
introduce a few more `compose run` options
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-23 13:41:50 +01:00
Chris Crone 931767b22d deps: Replace docker/distribution for distribution/distribution
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-02-18 18:24:52 +01:00
Nicolas De Loof 0e862eeaa7
introduce --resolve-image-digests on config command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-18 14:48:28 +01:00
Nicolas De Loof b1f864a6f8
Introduce --profile option
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-02 13:51:22 +01:00
Guillaume Tardif 134744709c
Merge pull request #1201 from ulyssessouza/bump-compose-fo
Bump compose-go for absolute paths fix
2021-02-01 09:19:37 +01:00
Ulysses Souza a3e81be6ea Bump compose-go for absolute paths fix
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-01-29 10:24:41 -03:00
aiordache 0807ec0067 Target the kubernetes cluster referenced in the docker "kube" context
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-29 13:13:25 +01:00
aiordache 849707016b Implement kubernetes context create
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-26 16:10:57 +01:00
aiordache f09a57351f remove unused utils pkg
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-21 14:48:41 +01:00
aiordache 50792c4621 Add Kubernetes backend
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-20 16:55:08 +01:00
Nicolas De Loof ed18cefc04
Introduce --env-file
fixes #1152

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-19 11:07:13 +01:00
Guillaume Tardif 8ab3149f45 Network names and volume names don’t need anymore to be re-adapted (and prefixed with project name) after loaded from compose-go
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-01-14 10:07:29 +01:00
Nicolas De Loof 5c4a940de2
add support for overlays on generated cloudformation template
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-11 17:20:57 +01:00
Nicolas De Loof e17accab49
Resolve service image by digest before deploying to ECS
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-01-11 16:39:08 +01:00
aiordache 31e40176da Add GPU support via DeviceRequests
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-01-07 10:00:19 +01:00
Nicolas De Loof 855a879a6a
Introduce `removeOrphans` to cleanup injected AWS simulation container
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-12-17 10:46:17 +01:00
Chris Crone 65561c085a deps: Bump docker and buildx vendoring
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-12-16 10:57:42 +01:00
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 6e76aadfd6 deps: Bump buildx and docker vendoring
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2020-12-11 10:40:09 +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
Guillaume Tardif df9c96430c Allow anonymous volumes
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2020-12-08 17:44:55 +01:00
Guillaume Tardif 4270f383a7
Merge pull request #988 from docker/feat-platform
Add platform when running containers
2020-12-02 13:24:07 +01:00
Nicolas De Loof 52574046f0
introduce `compose push` command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-12-01 14:55:52 +01:00
Djordje Lukic 1148ed8837 Add platform when running containers
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-11-30 11:51:46 +01:00
Guillaume Tardif 3c073b51a2 Latest compose-go, keeping “-“ in project names derived from workingDir
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
2020-11-27 09:13:05 +01:00