Healtcheck done to the process name

This commit is contained in:
Italo
2024-07-13 23:32:34 -04:00
committed by GitHub
parent 631b7096c9
commit e1a585c194
4 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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