I have an issue with my docker installation. For some security reasons I configured my "daemon.json" that the namespace is switched to another user (userns-remap
). Now I have the problem that if I run a container (with switched user context (USER containeruser
) and try to ping another one which is in the same container network I get following error:
$ ping 172.16.0.3
PING 172.16.0.3 (172.16.0.3): 56 data bytes
ping: permission denied (are you root?)
I already tried several things with AppArmor, assigning more capabilities and so on. But nothing helped to resolve that issue.
The running image is an alpine linux without any modifications.
Do you have a solution for my problem?