Healtcheck done to the process name
This commit is contained in:
@@ -65,7 +65,7 @@ services:
|
||||
privileged: true
|
||||
restart: 'unless-stopped'
|
||||
healthcheck:
|
||||
test: ["CMD", "nc", "-z", "127.0.0.1", "2376"]
|
||||
test: ["CMD", "pgrep", "dockerd"]
|
||||
interval: 10s
|
||||
timeout: 30s
|
||||
retries: 10
|
||||
|
||||
@@ -65,7 +65,7 @@ services:
|
||||
privileged: true
|
||||
restart: 'unless-stopped'
|
||||
healthcheck:
|
||||
test: ["CMD", "nc", "-z", "127.0.0.1", "2376"]
|
||||
test: ["CMD", "pgrep", "dockerd"]
|
||||
interval: 10s
|
||||
timeout: 30s
|
||||
retries: 10
|
||||
|
||||
@@ -64,7 +64,7 @@ services:
|
||||
privileged: true
|
||||
restart: 'unless-stopped'
|
||||
healthcheck:
|
||||
test: ["CMD", "nc", "-z", "127.0.0.1", "2376"]
|
||||
test: ["CMD", "pgrep", "dockerd"]
|
||||
interval: 10s
|
||||
timeout: 30s
|
||||
retries: 10
|
||||
|
||||
@@ -42,7 +42,7 @@ services:
|
||||
privileged: true
|
||||
restart: 'unless-stopped'
|
||||
healthcheck:
|
||||
test: ["CMD", "nc", "-z", "127.0.0.1", "2376"]
|
||||
test: ["CMD", "pgrep", "dockerd"]
|
||||
interval: 10s
|
||||
timeout: 30s
|
||||
retries: 10
|
||||
|
||||
Reference in New Issue
Block a user