PMS Plex Docker - Constant disk activities

Ok, I have a new update.
It is the Plex container creating the writes, but not Plex itself but Docker and yes it is realted to the healthcheck. Apparently the check itself does not create the io but docker is updating the result of the healthcheck everytime in hostconfig.json and config.v2.json and since Plex is running the healthcheck every 5s it updates every 5s the files. Now that I have figured out where this is originating from I found others having the same issue:

and somebody also filed a bug report for docker: Active HEALTHCHECK causes unnecessary overwriting of hostconfig.json and config.v2.json · Issue #3268 · distribution/distribution · GitHub

But not sure this is necessarily a docker error. Unfortunately my plex container does not like for some reason when I add the command --no-healthcheck to disable the behaviour. It would then not start at all. That might be related to portainer.

So my ask to Plex (@ChuckPa ) could you check with your docker engieers to modify the healthcheck to avoid this behaviour in the future?

1 Like