github.com/khulnasoft-lab/khulnasoft@v26.0.1-0.20240328202558-330a6f959fe0+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 }