docker run fail with net.core sysctl parameter
Issue
- docker run fail with net.core sysctl parameter
- Running docker formatted container with
--sysctl net.core.rmem_defaultoption fails with below error:
/usr/bin/docker-current: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:359: container init caused \\\"open /proc/sys/net/core/rmem_default: no such file or directory\\\"\"\n".
- Command
docker run -ti --sysctl net.core.rmem_default=262144 rhel7 bashfails with above error:
Environment
- Red Hat Enterprise Linux 7
- docker
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
