1
0
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:
Darren Shepherd
2015-02-14 09:37:03 -07:00
parent 2911946aad
commit 2866d308bf

View File

@@ -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 {