Skip to content

Remove healthcheck from Portainer service#307

Merged
crypt0rr merged 1 commit into
mainfrom
20260608-remove-healthcheck-portainer
Jun 8, 2026
Merged

Remove healthcheck from Portainer service#307
crypt0rr merged 1 commit into
mainfrom
20260608-remove-healthcheck-portainer

Conversation

@jackspiering

Copy link
Copy Markdown
Collaborator

Portainer: Remove healthcheck from Portainer service

Description

The Portainer health check is being removed because the official portainer/portainer-ce image is a minimal scratch-based image that does not include common utilities such as wget, curl, nc, or pgrep.

As a result, meaningful Docker health checks cannot be implemented reliably without switching to a different image variant. Since the container already uses restart: always, Docker will continue to restart Portainer if the process exits.

Users who require availability monitoring are encouraged to use an external monitoring solution such as Uptime Kuma.

This will fix #305

Related Issues

Verification

Tested on own system.

Checklist

  • I have performed a self-review of my code and followed the templates structure.
  • I have added verification that the stack works as expected.
  • I have updated necessary documentation (e.g. frontpage README.md ).
  • I have selected the correct label(s) for this PR.

Additional Context

  • None.

The Portainer health check is being removed because the official portainer/portainer-ce image is a minimal scratch-based image that does not include common utilities such as wget, curl, nc, or pgrep.

As a result, meaningful Docker health checks cannot be implemented reliably without switching to a different image variant. Since the container already uses restart: always, Docker will continue to restart Portainer if the process exits.

Users who require availability monitoring are encouraged to use an external monitoring solution such as Uptime Kuma.

This will fix #305
@jackspiering jackspiering requested a review from crypt0rr June 8, 2026 14:46
@jackspiering jackspiering self-assigned this Jun 8, 2026
@jackspiering jackspiering added the bug Something isn't working label Jun 8, 2026
@crypt0rr crypt0rr merged commit f3dd35a into main Jun 8, 2026
1 check passed
@crypt0rr crypt0rr deleted the 20260608-remove-healthcheck-portainer branch June 8, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞 Bug: Portainer fails health checks

2 participants