Re:Red Hat to contribute container tech (Podman, bootc, Comp...
by whilenot-dev on Thursday November 14, 2024 @03:38PM
(#42140940)
Both should do exacly the same, they are just installed differently. docker compose is installed as docker CLI plugin (Linux only), and docker-compose is installed as standalone binary.
See ref: https://docs.docker.com/compose/install/#scenario-two-instal...
Re:Red Hat to contribute container tech (Podman, bootc, Comp...
by tristan957 on Thursday November 14, 2024 @03:44PM
(#42141011)
There are subtle differences between the two and not exactly the same.
Re:Red Hat to contribute container tech (Podman, bootc, Comp...
by whilenot-dev on Thursday November 14, 2024 @03:47PM
(#42141040)
That would be news to me, as both are pointing to the exact same GitHub repository[0]. Can you name the differences?
Re:Red Hat to contribute container tech (Podman, bootc, Comp...
by thangngoc89 on Thursday November 14, 2024 @06:41PM
(#42142498)
Previous docker-compose was a separate program, written in Python if I remember correctly, people usually preferred to them as v1. Later docker incorporated it into the docker binary itself as a subcommand so that’s v2
Re:Red Hat to contribute container tech (Podman, bootc, Comp...
by whilenot-dev on Friday November 15, 2024 @01:43AM
(#42144443)
v2 is still a separate binary, it can just be installed in different ways (on Linux). If GGGP was referring to v1, then that's legacy software since 2+ years and they probably shouldn't use it.
Re:Red Hat to contribute container tech (Podman, bootc, Comp...
by yjftsjthsd-h on Friday November 15, 2024 @02:03AM
(#42144545)
The one problem I previously hit was that the ansible integration used the Python version; I hope they've fixed it now but haven't looked lately.
Re:Red Hat to contribute container tech (Podman, bootc, Comp...
by whilenot-dev on Friday November 15, 2024 @02:30AM
(#42144663)
Looks like v2 is available: https://galaxy.ansible.com/ui/repo/published/community/docke...
Re:Red Hat to contribute container tech (Podman, bootc, Comp...
by yjftsjthsd-h on Friday November 15, 2024 @01:26PM
(#42149507)
On the I've hand: that's great news!
On the other:
> The Docker compose CLI plugin has no stable output format (see for example https://github.com/docker/compose/issues/10872 ), and for the main operations also no machine friendly output format. The module tries to accomodate this with various version-dependent behavior adjustments and with testing older and newer versions of the Docker compose CLI plugin. Currently the module is tested with multiple plugin versions between 2.18.1 and 2.23.3. The exact list of plugin versions will change over time. New releases of the Docker compose CLI plugin can break this module at any time.
Is that "docker-compose" (with a dash) or "docker compose" (with a space)?