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
|
76f36a69c6
|
Reusing existing Create() and Start() API
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-18 10:00:18 +01:00 |
Guillaume Tardif
|
8259604074
|
Simplify command setup
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-18 09:59:02 +01:00 |
Guillaume Tardif
|
53ee1418af
|
Do not change root flags for all commands
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-18 09:59:02 +01:00 |
Guillaume Tardif
|
7bed2343e6
|
Remove not implemented options
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-18 09:59:02 +01:00 |
Guillaume Tardif
|
370781e95e
|
Support option —workingdir, -f, no need to check backend support, unimplemented error is returned by backbends.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-18 09:59:02 +01:00 |
Guillaume Tardif
|
215f50166a
|
Remove comment
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
|
eda6a59379
|
introduce options struct in the API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-17 11:10:57 +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 |
Nicolas De Loof
|
db5467ce22
|
Use local compose implementation for local ecs simulation context
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-17 10:46:16 +01:00 |
Nicolas De Loof
|
056dfb95bc
|
allow to collect logs for a subset of project services
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-17 10:32:46 +01:00 |
Guillaume Tardif
|
f55823b70f
|
Make Moby command detection (based on help output) more robust. It seems some tabs have been replaced by spaces in CLI 20.10. Covered with e2e test TestUnsupportedCommand.
We need to install docker CLI ourselves in Github actions nodes.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-15 12:32:13 +01:00 |
Nicolas De Loof
|
7a2e041524
|
Parse --version and forward to docker/cli
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-14 15:16:22 +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
|
cf0e10a431
|
Adding short description to improve help on compose subcommands
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-10 15:43:20 +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
|
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
|
04cdd8dd40
|
Display compose experimental disclaimer only for local context type or moby (default) context type. Fixes ACI / ECS e2e tests.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-07 16:37:14 +01:00 |
Guillaume Tardif
|
5c13bafac5
|
Add a disclaimer message for all `docker compose` commands
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-07 15:46:32 +01:00 |
Nicolas De loof
|
576aa46d21
|
Merge pull request #1015 from docker/logConsumer
Revisit logs/up API to pass a LogConsumer vs io.Writer
|
2020-12-07 14:57:43 +01:00 |
Nicolas De Loof
|
ca123e08eb
|
Revisit logs/up API to pass a LogConsumer vs io.Writer
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-07 14:47:44 +01:00 |
Guillaume Tardif
|
ec5afcfd4d
|
`compose up` and other compose commands running on “Moby” context type.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-07 14:41:27 +01:00 |
Nicolas De Loof
|
136d09e1ac
|
split `Up` into `Create`+`Start` so logs don't collide with progress
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-04 08:16:50 +01:00 |
Nicolas De Loof
|
39e4107e12
|
attach to log stream by default on `up`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-12-03 16:51:00 +01:00 |
Djordje Lukic
|
2f09b634cc
|
Implement `docker compose pull`
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
|
2020-12-03 16:14:38 +01:00 |
Ulysses Souza
|
7e4cfc0e3b
|
Add order to down command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2020-12-02 13:51:11 +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 |
Guillaume Tardif
|
5258e3d56e
|
Add compose build flags for file and working dir
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2020-12-02 10:35:28 +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 |
Nicolas De Loof
|
5952183eca
|
introduce `compose build` command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-30 12:43:38 +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 |
Nicolas De Loof
|
b1a4dfd659
|
filter compose project to remove all services not required by command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2020-11-30 10:46:11 +01:00 |
Ulysses Souza
|
fe566d24e6
|
Bump `azure-sdk-for-go`: v43.3.0 -> v48.2.0
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2020-11-24 11:48:26 -03:00 |
Nicolas De loof
|
38d2dd9b41
|
Merge pull request #907 from docker/aci_healthcheck_threshold
|
2020-11-17 13:35:01 +01:00 |
Guillaume Tardif
|
bc966daf34
|
Merge pull request #912 from docker/compose-api
Compose api
|
2020-11-17 09:51:13 +01:00 |
Guillaume Tardif
|
5abc68ebdd
|
Add compose service, run `compose up` through API
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
|
2020-11-16 12:11:52 +01:00 |
Guillaume Tardif
|
575307d8af
|
Fix run default value for health check retries
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
|
2020-11-13 14:14:41 +01:00 |
Guillaume Tardif
|
0ef42f7bcb
|
Fix converting run health check options
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
|
2020-11-13 11:49:44 +01:00 |
Guillaume Tardif
|
91e5d178d2
|
Fix ports & Host config not being initialised in inspect view, fix E2E tests
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
|
2020-11-12 18:00:22 +01:00 |
Ulysses Souza
|
49759af15c
|
Add container inspect view
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2020-11-12 17:16:54 +01:00 |
Guillaume Tardif
|
cfa090459b
|
Move list of run specific flags where it’s used
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
|
2020-11-06 15:38:50 +01:00 |
Guillaume Tardif
|
5c04e84e49
|
Merge pull request #882 from docker/yaml
Marshall cloudformation template as yaml
|
2020-11-06 13:51:12 +01:00 |
Ulysses Souza
|
f6509ac814
|
Add Healthchecks to ACI
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2020-11-06 12:21:12 +01:00 |
Ulysses Souza
|
7aee922b35
|
Remap restart policies for command run
This adds 'no' and 'always' as options.
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2020-11-06 10:37:53 +01:00 |
Guillaume Tardif
|
66a1263342
|
No specific case for windows, always resolve binary name before executing command
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
|
2020-11-05 17:38:03 +01:00 |
Guillaume Tardif
|
41a1553dab
|
No specific case for windows, always resolve binary name before executing command
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
|
2020-11-05 17:31:26 +01:00 |
Guillaume Tardif
|
3936826673
|
Keep original license in windows lp_windows.go
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
|
2020-11-05 17:12:03 +01:00 |
guillaume.tardif
|
4489f39e5d
|
duplicate windows os/exec.LookPath() and do not resolve files in current working dir if CWD is not explicitly in PATH.
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
|
2020-11-05 16:43:17 +01:00 |