-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
As of 8.0.37-debian
, the entrypoint script tries to create the /var/lib/mysql-files
directory on startup. This does not work when running as a non-root user, as /var/lib
(correctly) is not writable by arbitrary user IDs.
Steps to reproduce
- Deploy
docker.io/library/mysql:8.0.36-debian
in a scenario where the user cannot write arbitrary files (e.g. on OpenShift platforms) - Upgrade to
docker.io/library/mysql:8.0.37-debian
Expected outcome
- Since this is a patch level upgrade, the setup should continue to run as-is
Actual outcome
- The container crashes upon startup.
Workaround
- Mount a volume at
/var/lib/mysql-files
Possible Fixes
- Revert the change
- Document that
/var/lib/mysql-files
must also be mounted and writable
Metadata
Metadata
Assignees
Labels
No labels