Unfortunately, I cannot confirm this on a freshly installed Ubuntu 20.04
VM (that I grabbed with https://github.com/canonical/multipass on my
laptop running debian/bullseye).

I've replicated the registry example with the registry like this:

  ubuntu@accessible-liger:~$ podman run -d -p 5000:5000 --name registry 
docker.io/registry:2
  40c86041d629bec154a29eadb00440cf5fa43d7acbd8e4ca5e1fc90dabd1a3ec
  
  ubuntu@accessible-liger:~$ curl -s localhost:5000/v2/ | jq
  {}


As for your network connectity issue:

  root@accessible-liger:~# podman run --rm -it debian
  Resolved "debian" as an alias 
(/etc/containers/registries.conf.d/shortnames.conf)
  Trying to pull docker.io/library/debian:latest...
  Getting image source signatures
  Copying blob bd8f6a7501cc done  
  Copying config 0d587dfbc4 done  
  Writing manifest to image destination
  Storing signatures
  root@db1fb5ce9bf4:/# apt update
  Get:1 http://security.debian.org/debian-security buster/updates InRelease 
[65.4 kB]
  Get:2 http://deb.debian.org/debian buster InRelease [121 kB]  
  Get:3 http://security.debian.org/debian-security buster/updates/main amd64 
Packages [272 kB]
  Get:4 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
  Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]

I've tested both use-cases both in rootful and in rootless mode, both
worked fine for me.

** Changed in: libpod (Ubuntu)
       Status: New => Incomplete

** Changed in: libpod (Ubuntu)
     Assignee: (unassigned) => Reinhard Tartler (siretart)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1925765

Title:
  [21.04 regression] networking broken in containers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpod/+bug/1925765/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to