0

I'd like to know if it's possible to configure the docker engine to always add a custom flag (--sysctl) for all containers?

My problem is that I'am a rancher user, and rancher doesn't support the --sysctl flag. I'am looking for a workarround to this.

Thank you.

Cabrinha
  • 440
  • 1
  • 3
  • 15

1 Answers1

0

From rancher-version - v1.2.0-pre4-rc4 sysctl option is supported. Add appropriate option in launchconfig:

"launchConfig": {
"type": "launchConfig",
"sysctl": <options-here>
}
MicroPyramid
  • 1,570
  • 19
  • 22