mirror of
https://github.com/rancher/os.git
synced 2025-08-31 14:23:11 +00:00
Fix system-docker host uri
This commit is contained in:
@@ -16,7 +16,7 @@ func SystemDocker() {
|
||||
}
|
||||
}
|
||||
|
||||
newEnv = append(newEnv, "DOCKER_HOST=unix://var/run/system-docker.sock")
|
||||
newEnv = append(newEnv, "DOCKER_HOST=unix:///var/run/system-docker.sock")
|
||||
|
||||
os.Args[0] = "/usr/bin/docker"
|
||||
if err := syscall.Exec(os.Args[0], os.Args, newEnv); err != nil {
|
||||
|
Reference in New Issue
Block a user