You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.Install and setup rootless nerdctl
2.Run nerdctl run --rm -p 127.0.0.2:8080:80 nginx
3.Attempt curl 127.0.0.2:8080
4.Get reset by peer
Describe the results you received and expected
Received: reset by peer
Expected: to be connected to the service in the container
What version of nerdctl are you using?
nerdctl version 2.0.0-rc.2, rootless, Linux (Pop!_OS 22.04 LTS), install from tar
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
$ nerdctl info
Client:
Namespace: default
Debug Mode: false
Server:
Server Version: v2.0.0-rc.4
Storage Driver: overlayfs
Logging Driver: json-file
Cgroup Driver: : systemd
Cgroup Version: : 2
Plugins:
Log: fluentd journald json-file syslog
Storage: native overlayfs stargz
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
rootless
Kernel Version: 6.9.3-76060903-generic
Operating System: Pop!_OS 22.04 LTS
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 30.56GiB
Name: hostname
ID: 2eb24a77-0449-485d-b84a-e18aca278b1e
WARNING: AppArmor profile "nerdctl-default" is not loaded.
Use 'sudo nerdctl apparmor load' if you prefer to use AppArmor with rootless mode.
This warning is negligible if you do not intend to use AppArmor.
WARNING: No cpu cfs period support
WARNING: No cpu cfs quota support
WARNING: No cpu shares support
WARNING: No cpuset support
WARNING: IPv4 forwarding is disabled
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
The text was updated successfully, but these errors were encountered:
Description
nerdctl run --rm -p 127.0.0.2:8080:80 nginx
does not work as expected:nerdctl run --rm -p 127.0.0.1:8080:80 nginx
does work, and outputs the appropriate nginx welcome page fromcurl 127.0.0.1:8080
Can confirm (on another Linux box) that the same functionality (listen on
127.0.0.2:8080
) works in rootless Podman.Note: the output for
nerdctl port
in general, seems reversed to what I would expect but contains the right address:ss
also confirms something is listening on the right address:Steps to reproduce the issue
1.Install and setup rootless nerdctl
2.Run
nerdctl run --rm -p 127.0.0.2:8080:80 nginx
3.Attempt
curl 127.0.0.2:8080
4.Get
reset by peer
Describe the results you received and expected
Received: reset by peer
Expected: to be connected to the service in the container
What version of nerdctl are you using?
nerdctl version 2.0.0-rc.2, rootless, Linux (Pop!_OS 22.04 LTS), install from tar
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
The text was updated successfully, but these errors were encountered: