Commit Graph

2742 Commits

Author SHA1 Message Date
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 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
Nicolas De Loof e7f228ecf9 wait for exec stdout to complete
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 09:58:47 +02:00
Nicolas De Loof b1d2c18dfc give -T a long name, otherwise help is weird
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 09:58:47 +02:00
Nicolas De Loof 1d38001164 automatically disable TTY if shell isn't a terminal
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 09:58:47 +02:00
Nicolas De Loof 4987a52975
fix hard vs soft ulimit
close https://github.com/docker/compose-cli/issues/1769

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 09:49:36 +02:00
Nicolas De loof f43899250f
Merge pull request #1770 from ndeloof/fix_network_alias_test
fix broken network_alias_test
2021-06-10 09:38:39 +02:00
Nicolas De Loof e641ffa0f4
fix broken network_alias_test
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-10 09:30:11 +02:00
Nicolas De loof 21a4af34f7
Merge pull request #1768 from ndeloof/binary_license
include packaging LICENSE in release
2021-06-09 16:01:25 +02:00
Nicolas De Loof fdd2cd85d0
include packaging LICENSE in release
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-09 15:47:13 +02:00
Nicolas De loof 3202ab93bd
Merge pull request #1765 from ndeloof/log_printer 2021-06-09 14:24:40 +02:00
Nicolas De Loof 1ad964603a
config --profiles to list all defined profiles
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-09 12:44:38 +02:00
Nicolas De Loof 919d6c9ed8
LogPrinter should not be part of the API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-09 10:15:38 +02:00
Nicolas De loof b0a66356e0
Merge pull request #1757 from ndeloof/docs
update reference docs
2021-06-09 07:31:22 +02:00
Nicolas De loof 45a2c422e1
Merge pull request #1760 from ndeloof/split_writer
code cleanup: splitWriter does not use service/container name
2021-06-09 07:31:16 +02:00
Nicolas De loof 2edec5aa90
Merge pull request #1752 from ndeloof/up_backend
move up logic from CLI into local backend
2021-06-09 07:29:35 +02:00
Nicolas De loof 25c3df6c86
Merge pull request #1758 from aiordache/kube_hack_april
Kube backend updates
2021-06-08 16:58:54 +02:00
aiordache 0d25709ada Add port mapping to `compose ps`
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 14:48:09 +00:00
Nicolas De Loof 9d5026e966
code cleanup: splitWriter does not use service/container name
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-08 16:16:06 +02:00
aiordache 5d9d39dabd Add port-forwarding on `compose up`
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 12:14:40 +00:00