Disable the ping in ubuntu docker container
I am trying to stop my docker container (running ubuntu 22.04) from replying to ping. Currently, i am trying with these 2 methods: sysctl -w net.ipv4.icmp_echo_ignore_all=1. I am only able run this command from inside the container and only if…