Commit Graph

2596 Commits

Author SHA1 Message Date
Nicolas De loof 04c78c24e4
Merge pull request #1641 from ndeloof/profiles
fix detecting active profiles implied by selected services
2021-05-05 10:23:27 +02:00
Nicolas De Loof 13f37cf1c8
fix detecting active profiles implied by selected services
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-05 10:12:04 +02:00
Nicolas De loof 7840be9693
Merge pull request #1633 from ndeloof/ipaddress
configure service with ipAddress
2021-05-04 20:32:40 +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 c64317a981
Merge pull request #1627 from ulyssessouza/add-services-on-ps
Add support for services on ps command
2021-05-04 12:45:29 +02:00
Nicolas De loof ebbe86f18d
Merge pull request #1632 from rosven/documentation_fixes
fix documentation errors
2021-05-04 12:35:27 +02:00
Robin Svensson f92c1ebb3e fix documentation errors
Signed-off-by: Robin Svensson <euleriancycle@gmail.com>
2021-05-04 11:18:58 +02:00
Nicolas De loof 2c79e63b83
Merge pull request #1630 from ndeloof/logs_panic
don't invoke r.Close on error as r == nil
2021-05-04 10:40:56 +02:00
Nicolas De Loof 87abb4eb9c
don't invoke r.Close on error as r == nil
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-04 08:42:49 +02:00
Ulysses Souza 36d6c40e52 Add support for services on ps command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-05-03 20:03:52 -03:00
Nicolas De loof de8834d434
Merge pull request #1626 from gtardif/add_debug_path
Display PATH when not finding com.docker.cli, to help debugging
2021-05-03 17:57:44 +02:00
Nicolas De loof 769dd23782
Merge pull request #1625 from ndeloof/network_alisasses
use highest priority network to declare network aliasses
2021-05-03 16:14:41 +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
Guillaume Tardif 0496f29a53 Display PATH when not finding com.docker.cli, to help debugging
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-05-03 14:55:41 +02:00
Nicolas De loof 63057f6d1f
Merge pull request #1606 from gtardif/compose_rm_all
Add rm --all flag for backward compatibility (deprecated - no effect)
2021-04-30 13:26:56 +02:00
Nicolas De loof 7d43d39de2
Merge pull request #1616 from ndeloof/pid_namespace
handle dependency involved by shared PID namespace
2021-04-30 12:25:33 +02:00
Nicolas De loof 64329c2223
Merge pull request #1618 from ndeloof/remove_volume 2021-04-30 11:57:02 +02:00
Guillaume Tardif 94cf3ea202
Merge pull request #1614 from chris-crone/new-line-version
cli.compose: Add missing \n for version
2021-04-30 10:48:29 +02:00
Nicolas De Loof deecf76421
reduce code complexity with sub-functions
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-30 09:35:09 +02:00
Nicolas De Loof 98187b2f62
down --volume to remove volume
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-30 08:18:06 +02:00
Nicolas De Loof a93008ab1c
handle dependency involved by shared PID namespace
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-29 21:48:20 +02:00
Chris Crone a764f8c5a8 cli.compose: Add missing \n for version
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-29 18:30:58 +02:00
Nicolas De loof b46015f2f8
Merge pull request #1610 from ndeloof/build_args_from_env 2021-04-29 12:15:35 +02:00
Nicolas De loof 634ade5e8a
Merge pull request #1609 from ndeloof/exec_exitcode 2021-04-29 12:14:07 +02:00
Nicolas De Loof 15eab93b31
docker compose exec to return command exit code
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-29 10:58:45 +02:00
Nicolas De Loof e433777796
resolve build args without value from environment
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-29 10:43:09 +02:00
Nicolas De loof 962dc9478f
Merge pull request #1604 from ndeloof/bind_volume
when bind mount has CreateHostPath set, use bind API
2021-04-28 18:42:19 +02:00
Guillaume Tardif 850f81c44f Add rm --all flag for backward compatibility (deprecated - no effect)
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-28 14:37:44 +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
Guillaume Tardif 38b4220bdb
Merge pull request #1603 from gtardif/compose-cli-plugin-version
Separate compose CLI plugin version from Cloud integration version
2021-04-27 10:56:59 +02:00
Guillaume Tardif 28bd7bda3e Separate compose CLI plugin version from Cloud integration version
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-27 09:16:41 +02:00
Nicolas De loof 9370ca315a
Merge pull request #1600 from gtardif/doc_readme
Update readme and clarify relation to docker-compose
2021-04-26 17:22:37 +02:00
Nicolas De loof a1aa6e3ef0
Merge pull request #1596 from ndeloof/override
load sibling compose-override file when auto-discovered from parent dir
2021-04-26 17:19:28 +02:00
Guillaume Tardif 0312556f73 Update readme and clarify relation to docker-compose
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-26 16:34:36 +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 8d86f578ed
Merge pull request #1594 from gtardif/fix_test_race
Fix race in TestAttachRestart : wait for logs to appear rather than have a fixed TTL for the application
2021-04-26 12:12:25 +02:00
Guillaume Tardif 6c5bd67c19 Fix race in TestAttachRestart : wait for logs to appear rather than have a fixed TTL for the application
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-26 12:01:24 +02:00
Nicolas De loof d99a5101a2
Merge pull request #1586 from gtardif/fix_win_test_paths 2021-04-23 16:17:11 +02:00
guillaume.tardif df7f57e227 one more windows adaptation
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2021-04-23 13:21:10 +02:00
Guillaume Tardif 95179f1625 Compose Cancel test not compile/run on windows (no signals)
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-23 12:39:55 +02:00
Guillaume Tardif 1607370b81
Merge pull request #1588 from ndeloof/prefer_cli_plugin
On default context, "compose" is implemented by CLI Plugin
2021-04-23 12:28:00 +02:00
Nicolas De Loof 9123c75142 On default context, "compose" is implemented by CLI Plugin
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-23 12:06:14 +02:00
guillaume.tardif 4fa4284eb4 Adapt compose tests to pass with Desktop Windows
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2021-04-23 12:04:42 +02:00
Guillaume Tardif 61a448226b
Merge pull request #1587 from gtardif/cli_plugin_linux_install
Install compose cli plugin in addition to compose-cli binary with scripted install
2021-04-23 11:56:00 +02:00
Guillaume Tardif 14b8052d83 Install compose cli plugin in addition to compose-cli binary with scripted install
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-23 11:34:22 +02:00
Guillaume Tardif ad42fc6c4d
Merge pull request #1578 from rjruizes/patch-1
fix typo in ecs-architecture.md
2021-04-23 11:02:00 +02:00
Nicolas De loof fa05d4397a
Merge pull request #1539 from docker/inject 2021-04-23 11:00:02 +02:00
Guillaume Tardif de3fa40bae Handle Ctrl+C for compose CLI plugin.
Could do something nicer passing the context to the compose command, rather than intercepting it and checking if it’s “.WithCancel” or not...

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-23 10:21:05 +02:00
Guillaume Tardif 0785114b90 Also ensure we don’t need compose cloud integration to run compose CLI plugin
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-22 22:03:52 +02:00
Nicolas De Loof db38d1244c
Retrieve compose failure category by exit code
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-22 18:01:28 +02:00