esphome / esphome/issues

HEALTHCHECK in Dockerfile causes systemd logs spammed

Open
#5,946 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
No language data
Stars
313
Forks
40
PR merge metrics
No merged PRs in 30d

Description

### The problem

There is infinite madness of "Deactivated successfully" entries that renders logs far less usable than they should.

Please consider removing `HEALTHCHECK` from `Dockerfile`

### Which version of ESPHome has the issue?

all?

### What type of installation are you using?

Docker

### Which version of Home Assistant has the issue?

_No response_

### What platform are you using?

ESP8266

### Board

_No response_

### Component causing the issue

HEALTHCHECK in Dockerfile

### Example YAML snippet

_No response_

### Anything in the logs that might be useful for us?

```txt
Jun 21 08:13:36 server systemd[1]: run-docker-runtime\x2drunc-moby-2ee4b6f19f26824990e004790a43b393df939ba67b2eca24aee13eaf0cfbd6f8-runc.Ouq89O.mount: Deactivated successfully.
Jun 21 08:13:06 server systemd[1]: run-docker-runtime\x2drunc-moby-2ee4b6f19f26824990e004790a43b393df939ba67b2eca24aee13eaf0cfbd6f8-runc.eCdGLD.mount: Deactivated successfully.
Jun 21 08:12:06 server systemd[1]: run-docker-runtime\x2drunc-moby-2ee4b6f19f26824990e004790a43b393df939ba67b2eca24aee13eaf0cfbd6f8-runc.7TisnS.mount: Deactivated successfully.
Jun 21 08:10:35 server systemd[1]: run-docker-runtime\x2drunc-moby-2ee4b6f19f26824990e004790a43b393df939ba67b2eca24aee13eaf0cfbd6f8-runc.tYiQry.mount: Deactivated successfully.
Jun 21 08:10:05 server systemd[1]: run-docker-runtime\x2drunc-moby-2ee4b6f19f26824990e004790a43b393df939ba67b2eca24aee13eaf0cfbd6f8-runc.iMTtDK.mount: Deactivated successfully.
```
```

### Additional information

https://github.com/esphome/esphome/blob/e7556271e72f85e09d1381bee68e43bde8843387/docker/Dockerfile#L126

https://github.com/owntracks/docker-recorder/issues/35
https://github.com/docker/for-linux/issues/679

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.