systemd-nspawn ping debugging
So I wanted to play with systemd-nspawn
and got a Fedora22 container running
in a minute:
$ yum --releasever=22 --installroot=/var/lib/container/fedora22 install systemd passwd yum fedora-release vim-minimal iputils
$ systemd-nspawn -D /var/lib/container/fedora22 passwd -d root
$ systemctl start systemd-nspawn@fedora22
$ machinectl login fedora22
Now I wanted to test my network connection running ping
but suddenly:
-bash-4.3# /bin/ping 8.8.8.8
-bash: /bin/ping: Operation not permitted
What the heck? Clearly something is wrong here, let’s debug this! more ...