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_default
option 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 bash
fails with above error:
Environment
- Red Hat Enterprise Linux 7
- docker
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.