Public bug reported:

This stopped working in 21.04:

  podman run -it --rm -p 5000:5000 --name registry docker.io/registry:2
  curl http://localhost:5000/v2/

The curl just hangs forever. This works fine in Ubuntu 20.10 with podman
2.0.6+dfsg1-1ubuntu1.

Outbound direction is also broken:

# podman run -it --rm docker.io/ubuntu:latest apt update
Err:1 http://archive.ubuntu.com/ubuntu focal InRelease
  Temporary failure resolving 'archive.ubuntu.com'

However, that's already the case in Ubuntu 20.10.

Unfortunately there are no tools like `ip` in the container to see
network interfaces and routes, neither in fedora:latest.

/proc/net/dev and /proc/net/route do show an interface as expected, and
they are exactly the same as in 20.10.

Package: podman 3.0.1+dfsg1-1ubuntu1
DistroRelease: Ubuntu 21.04

** Affects: libpod (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: hirsute regression-release

** Description changed:

  This stopped working in 21.04:
  
-   podman run -it --rm -p 5000:5000 --name registry docker.io/registry:2
-   curl http://localhost:5000/v2/
+   podman run -it --rm -p 5000:5000 --name registry docker.io/registry:2
+   curl http://localhost:5000/v2/
  
  The curl just hangs forever. This works fine in Ubuntu 20.10 with podman
  2.0.6+dfsg1-1ubuntu1.
  
  Outbound direction is also broken:
  
  # podman run -it --rm docker.io/ubuntu:latest apt update
- Err:1 http://archive.ubuntu.com/ubuntu focal InRelease                   
-   Temporary failure resolving 'archive.ubuntu.com'
+ Err:1 http://archive.ubuntu.com/ubuntu focal InRelease
+   Temporary failure resolving 'archive.ubuntu.com'
  
  However, that's already the case in Ubuntu 20.10.
  
  Unfortunately there are no tools like `ip` in the container to see
  network interfaces and routes, neither in fedora:latest.
  
  /proc/net/dev and /proc/net/route do show an interface as expected, and
  they are exactly the same as in 20.10.
  
- PackageVersion: podman 3.0.1+dfsg1-1ubuntu1
+ Package: podman 3.0.1+dfsg1-1ubuntu1
+ DistroRelease: Ubuntu 21.04

-- 
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