Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/proc/sys/net/ipv4/ip_forward set to 1 when install and start docker #840

Closed
willzhang opened this issue Oct 26, 2019 · 2 comments
Closed

Comments

@willzhang
Copy link

why /proc/sys/net/ipv4/ip_forward set to 1 when install and start docker,any dos for this ?what it mean?

[root@iZj6cetbb1qeqfstcehc34Z ~]# cat /proc/sys/net/ipv4/ip_forward                                                            
0
[root@iZj6cetbb1qeqfstcehc34Z ~]# 
[root@iZj6cetbb1qeqfstcehc34Z ~]# systemctl start docker
[root@iZj6cetbb1qeqfstcehc34Z ~]# cat /proc/sys/net/ipv4/ip_forward
1
@kai-cool-dev
Copy link

How should Docker handle networking when it can't forward packets?

@andrewhsu
Copy link
Contributor

Docker needs to setup ip forwarding to function when doing networking. Docs for some more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants