[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
Thanks for the update! I also ran a test on Ubuntu 22.04, 24.04 vs 25.10, and was able to start an Apache+MariaDB+PHP application successfully [with some minor fiddling in 22.04 due to legacy Podman limitations]. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079929 Title: docker-compose-v2 should depend on "docker.io | podman" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
This bug was fixed in the package docker-compose-v2 - 2.37.1+ds1-0ubuntu2~22.04.1 --- docker-compose-v2 (2.37.1+ds1-0ubuntu2~22.04.1) jammy; urgency=medium * Backport from questing to jammy (LP: #2112523) * d/control: build with golang 1.23 * d/rules: add golang 1.23 to PATH * d/p/toolchain.patch: set go minimum version to 1.23 docker-compose-v2 (2.37.1+ds1-0ubuntu2) questing; urgency=medium [ Renan Rodrigo ] * d/control: Provide docker-compose [ Athos Ribeiro ] * d/control: demote docker.io to recommends (LP: #2079929) docker-compose-v2 (2.37.1+ds1-0ubuntu1) questing; urgency=medium * New upstream version 2.37.1+ds1 * d/docker-compose-v2.docs: update NOTICE file list * d/copyright: update copyright data -- Athos Ribeiro Wed, 10 Sep 2025 15:55:15 -0300 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079929 Title: docker-compose-v2 should depend on "docker.io | podman" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
This bug was fixed in the package docker-compose-v2 - 2.37.1+ds1-0ubuntu2~24.04.1 --- docker-compose-v2 (2.37.1+ds1-0ubuntu2~24.04.1) noble; urgency=medium * Backport from questing to noble (LP: #2112523) * d/control: build with golang 1.23 * d/rules: add golang 1.23 to PATH * d/p/toolchain.patch: set go minimum version to 1.23 docker-compose-v2 (2.37.1+ds1-0ubuntu2) questing; urgency=medium [ Renan Rodrigo ] * d/control: Provide docker-compose [ Athos Ribeiro ] * d/control: demote docker.io to recommends (LP: #2079929) docker-compose-v2 (2.37.1+ds1-0ubuntu1) questing; urgency=medium * New upstream version 2.37.1+ds1 * d/docker-compose-v2.docs: update NOTICE file list * d/copyright: update copyright data -- Athos Ribeiro Wed, 10 Sep 2025 15:50:27 -0300 ** Changed in: docker-compose-v2 (Ubuntu Noble) Status: Fix Committed => Fix Released ** Changed in: docker-compose-v2 (Ubuntu Jammy) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079929 Title: docker-compose-v2 should depend on "docker.io | podman" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
This bug was fixed in the package docker-compose-v2 - 2.37.1+ds1-0ubuntu2~25.04.1 --- docker-compose-v2 (2.37.1+ds1-0ubuntu2~25.04.1) plucky; urgency=medium * Backport from questing to plucky (LP: #2112523) docker-compose-v2 (2.37.1+ds1-0ubuntu2) questing; urgency=medium [ Renan Rodrigo ] * d/control: Provide docker-compose [ Athos Ribeiro ] * d/control: demote docker.io to recommends (LP: #2079929) docker-compose-v2 (2.37.1+ds1-0ubuntu1) questing; urgency=medium * New upstream version 2.37.1+ds1 * d/docker-compose-v2.docs: update NOTICE file list * d/copyright: update copyright data -- Athos Ribeiro Wed, 10 Sep 2025 14:50:43 -0300 ** Changed in: docker-compose-v2 (Ubuntu Plucky) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079929 Title: docker-compose-v2 should depend on "docker.io | podman" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
I verified this as per the test plan described above. I successfully installed docker-compose-v2. Then, I install podman-docker and verified that apt only removed docker.io and that docker-compose-v2 remained installed. I did it for plucky, noble and jammy. The docker-compose-v2 versions verified in each of them were: plucky: 2.37.1+ds1-0ubuntu2~25.04.1 noble: 2.37.1+ds1-0ubuntu2~24.04.1 jammy: 2.37.1+ds1-0ubuntu2~22.04.1 ** Tags removed: verification-needed verification-needed-jammy verification-needed-noble verification-needed-plucky ** Tags added: verification-done verification-done-jammy verification-done-noble verification-done-plucky -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079929 Title: docker-compose-v2 should depend on "docker.io | podman" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
Hello Joan, or anyone else affected, Accepted docker-compose-v2 into plucky-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/docker- compose-v2/2.37.1+ds1-0ubuntu2~25.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- plucky to verification-done-plucky. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-plucky. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: docker-compose-v2 (Ubuntu Plucky) Status: Incomplete => Fix Committed ** Tags added: verification-needed verification-needed-plucky ** Changed in: docker-compose-v2 (Ubuntu Noble) Status: In Progress => Fix Committed ** Tags added: verification-needed-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079929 Title: docker-compose-v2 should depend on "docker.io | podman" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
** Changed in: docker-compose-v2 (Ubuntu Noble) Status: New => In Progress ** Changed in: docker-compose-v2 (Ubuntu Jammy) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079929 Title: docker-compose-v2 should depend on "docker.io | podman" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
This bug is not being verified as part of the SRU process as per https://documentation.ubuntu.com/sru/en/latest/reference/requirements/#bug- references-in-changelogs. This fix was part of a previous -devel release which is now being backported. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079929 Title: docker-compose-v2 should depend on "docker.io | podman" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
** Description changed: + [ Impact ] + + While upstream supports it, Ubuntu's docker-compose-v2 cannot be used + with different packages providing Docker compatible interfaces (e.g., + podman + podman-docker) because docker-compose-v2 Requires docker.io and + the latter cannot be removed to be replaced with an alternative to be + used with docker-compose-v2. + + [ Test Plan ] + + Reproducing: + Install docker-compose-v2. + Then install podman-docker. + apt will remove docker.io and docker-compose-v2. + + Verifying the fix: + Install docker-compose-v2. + Then, install podman-docker. + Verify that apt only removes docker.io now (docker-compose-v2 remains installed). + + [ Where problems could occur ] + + Users installing docker-compose-v2 without the recommended packages will + not have a completely functional docker-compose command as they would + usually expect unless they are also installing a compatible container + runtime. + + [ Other Info ] + + N/A + + [ Original Message ] + Dear maintainer, I believe that "docker-compose-v2" should not have "docker.io" as a hard dependency, as it can be used along with other packages that provide a Docker-compatible API, such as "podman". Aside from the disk space use, requiring "docker.io" is also inconvenient because: * The Docker daemon is enabled by default as a systemd service. * It makes it impossible to install "podman-docker" and "docker-compose-v2 simultaneously, even though they are a sensible combination. The "docker-compose" package (v1) does not suffer from this issue as it declares "docker.io" as a recommended dependency. I suggest doing the same, or at least having "docker-compose-v2" require either "docker.io" or "podman". Below is an example showing how "docker-compose-v2" can be used with "podman" without "docker.io" on Ubuntu 24.04.1: ``` # apt install -y podman # apt download docker-compose-v2 # dpkg -i --ignore-depends=docker.io docker-compose-v2*.deb # mkdir my-project && cd my-project # cat < docker-compose.yml services: - netcat: - image: busybox - command: nc -lk -p 12345 -e echo 'It works!' - ports: ["12345:12345"] + netcat: + image: busybox + command: nc -lk -p 12345 -e echo 'It works!' + ports: ["12345:12345"] EOF # podman compose up -d Executing external compose provider "/usr/libexec/docker/cli-plugins/docker-compose". Please refer to the documentation for details. [...] # nc localhost 12345 It works! ``` System and package details: ``` # lsb_release -rd No LSB modules are available. Description: Ubuntu 24.04.1 LTS Release: 24.04 # apt-cache policy docker-compose-v2 docker-compose-v2: - Installed: 2.24.6+ds1-0ubuntu2 - Candidate: 2.24.6+ds1-0ubuntu2 - Version table: - *** 2.24.6+ds1-0ubuntu2 500 - 500 http://es.archive.ubuntu.com/ubuntu noble/universe amd64 Packages - 100 /var/lib/dpkg/status + Installed: 2.24.6+ds1-0ubuntu2 + Candidate: 2.24.6+ds1-0ubuntu2 + Version table: + *** 2.24.6+ds1-0ubuntu2 500 + 500 http://es.archive.ubuntu.com/ubuntu noble/universe amd64 Packages + 100 /var/lib/dpkg/status ``` Regards. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079929 Title: docker-compose-v2 should depend on "docker.io | podman" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
I understand this is a backport from questing, and the diff confirms
that only d/changelog changed, but since this update is introducing
dependency changes, I think it needs some specific and careful testing.
Specifically, how can we test this change? What are the risks?
--- a/debian/control
+++ b/debian/control
@@ -12,9 +12,10 @@ Rules-Requires-Root: no
Package: docker-compose-v2
Architecture: any
-Depends: docker.io,
- ${misc:Depends},
+Depends: ${misc:Depends},
${shlibs:Depends}
+Recommends: docker.io
+Provides: docker-compose
** Changed in: docker-compose-v2 (Ubuntu Plucky)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2079929
Title:
docker-compose-v2 should depend on "docker.io | podman"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
This bug was fixed in the package docker-compose-v2 - 2.37.1+ds1-0ubuntu2 --- docker-compose-v2 (2.37.1+ds1-0ubuntu2) questing; urgency=medium [ Renan Rodrigo ] * d/control: Provide docker-compose [ Athos Ribeiro ] * d/control: demote docker.io to recommends (LP: #2079929) -- Renan Rodrigo Thu, 14 Aug 2025 09:27:38 -0300 ** Changed in: docker-compose-v2 (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079929 Title: docker-compose-v2 should depend on "docker.io | podman" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
** Changed in: docker-compose-v2 (Ubuntu Jammy) Assignee: (unassigned) => Athos Ribeiro (athos-ribeiro) ** Changed in: docker-compose-v2 (Ubuntu Noble) Assignee: (unassigned) => Athos Ribeiro (athos-ribeiro) ** Changed in: docker-compose-v2 (Ubuntu Plucky) Assignee: (unassigned) => Athos Ribeiro (athos-ribeiro) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079929 Title: docker-compose-v2 should depend on "docker.io | podman" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
** Also affects: docker-compose-v2 (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: docker-compose-v2 (Ubuntu Noble) Importance: Undecided Status: New ** Also affects: docker-compose-v2 (Ubuntu Plucky) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079929 Title: docker-compose-v2 should depend on "docker.io | podman" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2079929] Re: docker-compose-v2 should depend on "docker.io | podman"
Thanks for the bug report, Joan. I am also wondering if we should also make podman-docker Provides docker.io to also cover the cases where package "foo" cannot be used with podman-docker. Still, this would not help in this specific case. I think we should just follow Debian here and "demote" docker.io to Recommends in docker-compose-v2. We can re-assess this in the future if we start seeing other similar cases. ** Tags removed: server-triage-discuss ** Tags added: server-todo ** Changed in: docker-compose-v2 (Ubuntu) Assignee: (unassigned) => Athos Ribeiro (athos-ribeiro) ** Changed in: docker-compose-v2 (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2079929 Title: docker-compose-v2 should depend on "docker.io | podman" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker-compose-v2/+bug/2079929/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
