I can confirm that python3-docker from noble-proposed has fixed the bug for me.
Test done: install python3-docker and try to execute "import docker" from python prompt and confirmed that it still fails. Added noble-proposed to apt sources. install python3-docker from noble-proposed. Followed the testplan and it printd b'hello world\n' from ubuntu:latest. Package tested: $ apt-cache policy python3-docker python3-docker: Installed: 5.0.3-1ubuntu1.1 Candidate: 5.0.3-1ubuntu1.1 Version table: *** 5.0.3-1ubuntu1.1 100 100 http://gb.archive.ubuntu.com/ubuntu noble-proposed/universe amd64 Packages 100 /var/lib/dpkg/status 5.0.3-1ubuntu1 500 500 http://gb.archive.ubuntu.com/ubuntu noble/universe amd64 Packages ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065348 Title: [SRU] python3-docker `from_env()` broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-docker/+bug/2065348/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs