Skip to content

Commit

Permalink
Merge pull request #9775 from medyagh/restart_docker_systemd
Browse files Browse the repository at this point in the history
restart inner docker daemon using systemd
  • Loading branch information
medyagh authored Nov 26, 2020
2 parents 846509e + 8ae3bda commit 322e138
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/provision/buildroot.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ Requires= minikube-automount.service docker.socket
[Service]
Type=notify
Restart=on-failure
StartLimitBurst=3
StartLimitIntervalSec=60
`
if noPivot {
klog.Warning("Using fundamentally insecure --no-pivot option")
Expand Down
3 changes: 3 additions & 0 deletions pkg/provision/ubuntu.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ Requires=docker.socket
[Service]
Type=notify
Restart=on-failure
StartLimitBurst=3
StartLimitIntervalSec=60
`
if noPivot {
klog.Warning("Using fundamentally insecure --no-pivot option")
Expand Down

0 comments on commit 322e138

Please sign in to comment.