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

sysctl set tcp_keepalive_time failed #8103

Closed
ykxpb opened this issue Sep 18, 2014 · 1 comment
Closed

sysctl set tcp_keepalive_time failed #8103

ykxpb opened this issue Sep 18, 2014 · 1 comment

Comments

@ykxpb
Copy link

ykxpb commented Sep 18, 2014

hi,when execute sysctl in container with privileged mode,I get this error,

root@ebcbff13e4a1:/# sysctl -w net.ipv4.tcp_keepalive_time=1800
sysctl: cannot stat /proc/sys/net/ipv4/tcp_keepalive_time: No such file or directory

is there any way to change net.ipv4.tcp_keepalive_time?

container is based on ubuntu latest,docker running at host ubuntu14.04.

@unclejack
Copy link
Contributor

This is a duplicate of #4717.

Containers are limited to not allow such changes to be made for security reasons. Mechanisms to make such changes for container level sysctl tunables are discussed in #4717.

Please take a look at #4717 and follow that discussion. I'll lock this so we can keep track of that discussion in one place.

@moby moby locked and limited conversation to collaborators Oct 10, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants