github.com/rish1988/moby@v25.0.2+incompatible/libnetwork/config/config_linux.go (about) 1 package config 2 3 import "github.com/docker/docker/libnetwork/osl" 4 5 // optionExecRoot on Linux sets both the controller's ExecRoot and osl.basePath. 6 func optionExecRoot(execRoot string) Option { 7 return func(c *Config) { 8 c.ExecRoot = execRoot 9 osl.SetBasePath(execRoot) 10 } 11 }