68958/iptables-initialize-iptables-permission-denied-must-root
Hi Guys,
I am trying to run iptables program inside docker container, but it shows me the below error.
iptables v1.6.0: can't initialize iptables -F: Permission denied (you must be root)
How can I solve this error?
Hi@akhtar,
You may get this error, if you didn't give permissions to your container at the time of launching. You can use the below tag at the time of docker run.
$ docker run -it --privileged centos
Hope this will help.
Try executing the following command: sudo su and ...READ MORE
This error is very confusing as it ...READ MORE
Hi@akhtar, To install any software using non root ...READ MORE
Hi@akhtar, I think there is a problem with ...READ MORE
When you use docker-compose down, all the ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
It can work if you try to put ...READ MORE
To solve this problem, I followed advice ...READ MORE
Hi@akhtar, You are trying to run your command ...READ MORE
Hi@akhtar, This is because of docker permission for ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.