disable dockerd for container runtime

pull/10374/head
Medya Gh 2021-02-05 12:20:29 -08:00
parent 9d091e680e
commit 6bf615d3d5
1 changed files with 4 additions and 0 deletions

View File

@ -137,6 +137,10 @@ func (r *Docker) Restart() error {
// Disable idempotently disables Docker on a host
func (r *Docker) Disable() error {
// because #10373
if err := r.Init.ForceStop("docker.socket"); err != nil {
return err
}
return r.Init.ForceStop("docker")
}