docker run fail with net.core sysctl parameter

Solution In Progress - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.