we should sudo systemctl start docker to start docker instead of restart it

pull/4114/head
Marcos Diez 2019-04-18 16:39:32 -03:00
parent 3746fb9994
commit da321436bb
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ func (r *Docker) Enable() error {
if err := disableOthers(r, r.Runner); err != nil {
glog.Warningf("disableOthers: %v", err)
}
return r.Runner.Run("sudo systemctl restart docker")
return r.Runner.Run("sudo systemctl start docker")
}
// Disable idempotently disables Docker on a host