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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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