Guillaume Tardif
|
dcd1e30f6a
|
Fix protos target to update new protos folder
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-19 16:48:54 +01:00 |
Nicolas De loof
|
ed67111b3d
|
Merge pull request #1155 from docker/remove_example_backend
|
2021-01-19 11:55:19 +01:00 |
Guillaume Tardif
|
aca816d5d6
|
Remove example backend.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-19 11:29:48 +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 |
Nicolas De Loof
|
e4682a0565
|
run "down" using project if it was set for command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2021-01-18 10:43:52 +01:00 |
Guillaume Tardif
|
907ba0c03e
|
Removed unit tests (using example context) that are in fact duplicates of e2e tests in test/e2e
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-15 17:28:46 +01:00 |
Guillaume Tardif
|
2a8c24e4ff
|
Move config => api/config
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-15 16:55:10 +01:00 |
Guillaume Tardif
|
f1ac6d4fdc
|
Move errdefs => api/errdefs
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-15 16:54:18 +01:00 |
Guillaume Tardif
|
fe39267e3a
|
Move formatter => cli/formatter. Needed to move formatter.MemBytes => utils.MemBytes (helper class on memory display)
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-15 16:47:30 +01:00 |
Guillaume Tardif
|
0ea97920c1
|
Move Context & context/store => api/context & api/context/store
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-15 16:31:59 +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 |
Guillaume Tardif
|
deb7bc34e0
|
Move protos => cli/server/
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-15 15:49:44 +01:00 |
Guillaume Tardif
|
cd10d8eaa4
|
Move server => cli
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-15 15:32:21 +01:00 |
Guillaume Tardif
|
65f53dff43
|
move metrics => cli
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-15 15:26:35 +01: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
|
1939047fe6
|
Add backend-metadata command (hidden) for CLI backend
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
|
2021-01-05 16:36:51 +01:00 |
Ulysses Souza
|
cef7a2d4ce
|
Refactor ProjectName
This separate project name and service name for command `run`
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
|
2021-01-04 14:11:54 +00:00 |
Nicolas De Loof
|
daacc872c1
|
Add support for .env file when loading compose files
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
2021-01-04 09:56:09 +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
|
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 |