Commit Graph

3010 Commits

Author SHA1 Message Date
Nicolas De Loof 0e67d3a35e don't create unecessary resources
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-24 10:11:41 +02:00
Nicolas De Loof d8d739307e test
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-24 10:11:01 +02:00
Nicolas De loof 9ca9aee4f8
Merge pull request #1839 from ndeloof/pending_label
automation to remove pending label on new comment
2021-06-24 10:05:34 +02:00
Nicolas De Loof 1fed4dd47f
pending label auto-removal on new comment
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-24 09:51:58 +02:00
Nicolas De loof 98a781f5cf
Merge pull request #1827 from ndeloof/ipam 2021-06-23 15:58:26 +02:00
Nicolas De loof 8d2019e77d
Merge pull request #1831 from ndeloof/inherit_volumes
inherit anoymous volumes
2021-06-23 15:35:18 +02:00
Nicolas De loof 99c39c8b3c
Merge pull request #1829 from ndeloof/ps_command 2021-06-23 08:28:47 +02:00
Nicolas De Loof 05b510a447
compose ps to include container command
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-22 16:09:47 +02:00
Nicolas De Loof 444fc26a51
inherit anoymous volumes
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-22 14:37:52 +02:00
Nicolas De loof 13b57023d7
Merge pull request #1823 from ndeloof/filter_status
implement ps --status=xx filter
2021-06-22 13:32:57 +02:00
Nicolas De loof 541cc0af7e
Merge pull request #1830 from ndeloof/verbose
add --verbose option for compatibility
2021-06-22 13:32:44 +02:00
Nicolas De Loof 46a65b8c77
add --verbose option for compatibility
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-22 11:49:54 +02:00
Nicolas De Loof 2fdc2e1dfb apply IPAM configuration to network and services
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-22 11:23:57 +02:00
Nicolas De Loof 7f18b47a9a prefer canonical `compose.yaml` file name
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-22 11:23:57 +02:00
Nicolas De loof 966c4ae863
Merge pull request #1826 from mat007/look-for-docker-cli-next-to-compose-cli 2021-06-22 10:49:17 +02:00
Mathieu Champlon 313de1de4a Look for docker cli next to the current executable
Signed-off-by: Mathieu Champlon <mathieu.champlon@docker.com>
2021-06-22 10:39:04 +02:00
Nicolas De loof bfa6312f63
Merge pull request #1825 from thaJeztah/bump_term2
go.mod: update moby/term and Azure/go-ansiterm
2021-06-21 22:37:39 +02:00
Sebastiaan van Stijn 5dbfcfd820
go.mod: update moby/term and Azure/go-ansiterm
Fixes an integer overflow when building on 32 bit windows/arm

- 9d4ed18562...3f7ff695ad
- 43e1dd70ce...59db8d763f

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-21 14:24:52 +02:00
Nicolas De loof 6bfdfa8947
Merge pull request #1821 from ndeloof/autoremove_restart_policy
Don't apply restart_policy on `compose run`
2021-06-21 12:01:49 +02:00
Nicolas De Loof 3e4f030d2d
implement ps --status=xx filter
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-21 11:16:09 +02:00
Nicolas De Loof 852aae0a39 don't apply restart_policy on `compose run`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-21 08:25:41 +02:00
Nicolas De loof 796d08d778
Merge pull request #1793 from lorenrh/il-102-links 2021-06-17 18:03:02 +02:00
Lorena Rangel b5d3eda223 only disconnect active networks in a container
Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>
2021-06-17 16:55:22 +02:00
Lorena Rangel b38d35ae1c set container links and external links in network
Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>
2021-06-17 15:51:14 +02:00
Nicolas De Loof 399f6cde5e
document public variable
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-17 15:35:50 +02:00
Nicolas De Loof 37b62309af
update compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-17 12:22:41 +02:00
Nicolas De loof d25dee907f
Merge pull request #1803 from ndeloof/compose_version
better interoperability with docker-compose on version label
2021-06-16 16:13:36 +02:00
Nicolas De Loof df9fa2d2d8
better interoperability with docker-compose on version label
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-16 14:40:33 +02:00
Nicolas De loof 9ea051f64e
Merge pull request #1791 from afshinpaydar-binary/docker_compose_logs_since_option 2021-06-16 09:25:24 +02:00
Afshin Paydar df6d709aa5 Merge branch 'main' of github.com:docker/compose-cli into docker_compose_logs_since_option 2021-06-16 08:57:02 +08:00
Afshin Paydar bbaccb4339 Add docker compose logs --until option
Signed-off-by: Afshin Paydar <afshin.paydar@binary.com>
2021-06-16 08:55:53 +08:00
Nicolas De loof ea469249b7
Merge pull request #1790 from docker/split_compose_v2 2021-06-15 19:07:44 +02:00
Nicolas De Loof 49e7f2d45d Move compose v2 implementation under pkg/compose with dependencies
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-15 15:52:48 +02:00
Nicolas De Loof e2ea24ceb7 move compose-plugin commands under /cmd
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-15 15:52:48 +02:00
Nicolas De Loof d90495e1cd move compose API into pkg/api
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-15 15:52:48 +02:00
Nicolas De loof a29d3e6f80
Merge pull request #1787 from ndeloof/remove_anonymous
`compose down -v` also removes anonymous volumes
2021-06-15 15:06:46 +02:00
Afshin Paydar 3976abcdc1 As docker logs defines --since option to limit the amount of logs to retrieve from container's history
This changes will add docker compose logs --since option

Signed-off-by: Afshin Paydar <afshin.paydar@binary.com>
2021-06-15 07:07:45 +08:00
Nicolas De loof 43655ba500
Merge pull request #1782 from ndeloof/inherited_volume
fix volume inheritance and conflict with trailing '/'
2021-06-14 16:30:11 +02:00
Nicolas De Loof 7f22783d56
pass volume option to ContainerRemove on down to also drop anonymous volumes
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-14 15:05:11 +02:00
Nicolas De Loof 726e204099
fix volume inheritance and conflict with trailing '/'
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-11 16:38:41 +02:00
Nicolas De loof f06baeef20
Merge pull request #1779 from ndeloof/labels
define compose labels within the compose API
2021-06-11 11:56:59 +02:00
Nicolas De Loof 89a63b79cb
define compose labels within the compose API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-11 11:46:34 +02:00
Nicolas De Loof ff0864237c labels use absolute paths
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-11 09:45:17 +02:00
Nicolas De loof 79573e1acc
Merge pull request #1767 from ndeloof/exec_no_tty
automatically disable TTY if shell isn't a terminal
2021-06-11 09:44:14 +02:00
Nicolas De Loof 07357928d0
update compose-go
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 16:40:36 +02:00
Nicolas De loof 1343bc52b0
Merge pull request #1774 from thaJeztah/bump_term
go.mod: update moby/term to fix Invalid Standard Handle Panic on Windows
2021-06-10 16:23:16 +02:00
Nicolas De Loof 679d24a178
ignore image we can't build when forcing PullPolicyBuild
close https://github.com/docker/compose-cli/issues/1776

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 16:21:32 +02:00
Sebastiaan van Stijn c6c3e7111a
go.mod: update moby/term to fix Invalid Standard Handle Panic on Windows
Changes:

- winterm: GetStdFile(): Added compatibility with "golang.org/x/sys/windows"
- winterm: fix GetStdFile() falltrough
- update deprecation message to refer to the correct replacement

full diff:

- bea5bbe245...9d4ed18562
- d6e3b3328b...2377c96fe7

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-06-10 14:54:23 +02:00
Nicolas De loof bbe9c6bcfd
Delete CHANGELOG.md 2021-06-10 10:15:16 +02:00
Nicolas De loof 1b54a38db3
Merge pull request #1766 from ndeloof/config_profiles
config --profiles to list all defined profiles
2021-06-10 09:59:48 +02:00