mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
added RestartSec
Signed-off-by: Andrew Hsu <andrewhsu@docker.com> (cherry picked from commit 51879873897afe298cbb736acef34b5a0b500424) Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
This commit is contained in:
parent
d5abba2e2c
commit
53343f1bf3
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ Wants=network-online.target
|
|||
ExecStartPre=/usr/libexec/containerd-offline-installer /var/lib/containerd-offline-installer/containerd-shim-process.tar docker.io/docker/containerd-shim-process
|
||||
ExecStart=/usr/bin/dockerd
|
||||
TimeoutSec=0
|
||||
RestartSec=2
|
||||
Restart=always
|
||||
# On RPM Based distributions PATH isn't defined so we define it here
|
||||
# /opt/containerd/bin is in front so dockerd grabs the correct runc binary
|
||||
|
|
Loading…
Reference in a new issue