I have a container service (watchtower) that automatically updates my containers. To be able to check for updates, I must have a valid token. For that, I have a cronjob that automatically updates the auth token in a config.json file. This has been working fine for about 10 months, the updated token has been fetched by the container that uses it.
After upgrading to from 18.09 to 19.03, the container can no longer detect changes in the config.json file. It only successfully gets updated when starting the container, but when trying to manually invalidate the token with vim or nano, the changes aren’t reflected.
The command used for setting up the volumes in docker-compose is:
volumes: - /var/run/docker.sock:/var/run/docker.sock - /root/.docker/config.json:/config.json
Are there any changes in 19.03 that broke this behavior?