mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 06:01:50 +00:00
Make the dockershim root directory configurable
Make the dockershim root directory configurable so things like integration tests (e.g. in OpenShift) can run as non-root.
This commit is contained in:
@@ -46,7 +46,7 @@ func main() {
|
||||
verflag.PrintAndExitIfRequested()
|
||||
|
||||
if s.ExperimentalDockershim {
|
||||
if err := app.RunDockershim(&s.KubeletConfiguration); err != nil {
|
||||
if err := app.RunDockershim(&s.KubeletConfiguration, s.DockershimRootDirectory); err != nil {
|
||||
fmt.Fprintf(os.Stderr, "error: %v\n", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user