Guillaume Tardif
|
998dbf79f9
|
Avoid using for variable in go func, as this creates race conditions
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-05-06 09:43:12 +02:00 |
Nicolas De Loof
|
ba588275a3
|
configure service with ipAddress
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2021-05-04 15:53:09 +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
|
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
|
a8819763b4
|
scale must ignore oneoff containers
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2021-04-16 09:15:22 +02:00 |
Nicolas De Loof
|
597598cb7a
|
only start container once we have a wait channel set, to prevent race condition with fast terminating container
see https://github.com/docker/cli/blob/master/cli/command/container/run.go#L157-L168
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2021-04-15 10:13:19 +02:00 |
Ulysses Souza
|
378d02dadd
|
Refactor `up --build`
This restarts containers which had it's images rebuilt
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2021-04-08 20:37:16 -03:00 |
Nicolas De Loof
|
15a21a449f
|
add support for service_completed_successfully
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2021-04-07 14:31:15 +02: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 |
Ulysses Souza
|
2fdc3bad48
|
Add restart command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2021-03-16 02:02:36 -03: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
|
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 |
Ulysses Souza
|
939ace331c
|
Add platform on creating containers
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2021-03-04 20:08:41 -03: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
|
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
|
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
|
20b83aa237
|
introduce compose rm command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2021-02-15 09:26:52 +01:00 |
Nicolas De Loof
|
d56745cba4
|
detect stopped containers as "Created"
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2021-02-12 12:17:17 +01:00 |
Guillaume Tardif
|
3252c409f8
|
Make progress event display homogeneous between up, down, start, stop
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-29 16:51:37 +01:00 |
Nicolas De Loof
|
9e77499c2a
|
introduce --force-recreate and --no-recreate
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2021-01-28 15:25:41 +01:00 |
Nicolas De loof
|
c881e22ab8
|
Merge pull request #1143 from aiordache/local_volume_override
|
2021-01-18 21:20:34 +01:00 |
aiordache
|
774234750d
|
Parse volumes_from
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2021-01-18 11:06:09 +01:00 |
Guillaume Tardif
|
930ae8bdb2
|
goimports -local github.com/docker/compose-cli -w . ; gofmt -s -w .
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-15 16:24:00 +01:00 |
Guillaume Tardif
|
4dee783aba
|
Move progress => api
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-15 15:57:24 +01:00 |
aiordache
|
515f3ba1e7
|
Revisit volume implementation
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2021-01-14 12:35:04 +01:00 |
Guillaume Tardif
|
7a6712afdb
|
Do not inspect for double container name at creation time, this has already been checked, let moby error bubble up if there is a name clash at this stage
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-08 10:59:58 +01:00 |
Ulysses Souza
|
b3993230d1
|
Add network alias to container name
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2021-01-07 17:06:40 -03:00 |
Ulysses Souza
|
b264e1814b
|
Add warning on container_name and scale > 1
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2021-01-07 17:06:40 -03:00 |
Ulysses Souza
|
8976a20698
|
Use `container_name` property on service
This applies `container_name` when available in
the service definition.
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2021-01-07 17:06:40 -03:00 |
Nicolas De Loof
|
4de01936f8
|
introduce --remove-orphans option
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2021-01-06 14:36:59 +01:00 |
Guillaume Tardif
|
32d5644937
|
Pass reader Writer as options to backend, remove hardcoded os.Stdout
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-18 10:01:06 +01:00 |
Guillaume Tardif
|
bad0d41d90
|
Auto-remove using container config
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-18 10:00:19 +01:00 |
Guillaume Tardif
|
8eb9733914
|
No need to support service `container_name` in this PR, will do separately, minor cleanup
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-18 09:59:02 +01:00 |
aiordache
|
412385c495
|
Add `compose run` command
Signed-off-by: aiordache <anca.iordache@docker.com>
|
2020-12-18 09:58:55 +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 |