Skip to content

Commit

Permalink
Make sure to enable docker, to please kubeadm
Browse files Browse the repository at this point in the history
The kubeadm preflight looks if the docker service is enabled,
rather than checking the docker socket... So make it happy.
  • Loading branch information
afbjorklund authored and dlorenc committed Feb 5, 2018
1 parent ff9671f commit 0e674ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/provision/buildroot.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,10 @@ func configureAuth(p *BuildrootProvisioner) error {
return err
}

if err := p.Service("docker", serviceaction.Enable); err != nil {
return err
}

if err := p.Service("docker", serviceaction.Restart); err != nil {
return err
}
Expand Down

0 comments on commit 0e674ef

Please sign in to comment.