If the admin wants you to have privs to use ping there, they could potentially do the steps documented here:  https://github.com/containers/libpod/blob/master/docs/tutorials/rootless_tutorial.md#enable-unprivileged-ping

t

On 10/03/2019 11:35 AM, Brent Baude wrote:
rootless does not have authority to ping iirc.  can you use curl or
some other way to test your traffic?

On Thu, 2019-10-03 at 10:50 -0400, Lou DeGenaro wrote:
Dunno what I'm doing wrong.  Please advise.  Thx!

Lou.

=====

[root@ducc-client-centos-7x-v1 etc]# podman run busybox ping -c 2
localhost
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: seq=0 ttl=64 time=0.107 ms
64 bytes from 127.0.0.1: seq=1 ttl=64 time=0.080 ms

--- localhost ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.080/0.093/0.107 ms
[root@ducc-client-centos-7x-v1 etc]# podman run busybox ping -c 2
176.32.103.205
PING 176.32.103.205 (176.32.103.205): 56 data bytes
64 bytes from 176.32.103.205: seq=0 ttl=226 time=28.471 ms
64 bytes from 176.32.103.205: seq=1 ttl=226 time=28.708 ms

--- 176.32.103.205 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 28.471/28.589/28.708 ms
[root@ducc-client-centos-7x-v1 etc]# su - podtest
Last login: Thu Oct  3 09:39:03 CDT 2019 on pts/0
[podtest@ducc-client-centos-7x-v1 ~]$ podman run busybox ping -c 2
localhost
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: seq=0 ttl=64 time=0.079 ms
64 bytes from 127.0.0.1: seq=1 ttl=64 time=0.084 ms

--- localhost ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.079/0.081/0.084 ms
[podtest@ducc-client-centos-7x-v1 ~]$ podman run busybox ping -c 2
176.32.103.205
PING 176.32.103.205 (176.32.103.205): 56 data bytes

--- 176.32.103.205 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io
_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io