New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chown: changing ownership of '/var/lib/mysql/': Operation not permitted #149
Comments
The In the default setup of the image we start the container as root, automatically fix volume permissions, and then step down to the Since you are starting the container as non-root (which is a valid and supported use case since #59), you are responsible for ensuring that the volume has correct permissions for the user that you are running as. Since this seems more like a problem with your openshift configuration and not a problem with the image, I'll close the issue. In the future, it'd be better to post questions like this in the Docker Community Forums, the Docker Community Slack, or Stack Overflow. |
Once the Volume is set, chmod/chown does not take effect. link So I can't change permissions. |
The "chown" at container _runtime_ will, though. Also, when you bring your
own volume, you need to make sure the permissions of that storage are
appropriate.
|
I am using mariadb:10.2.12 docker image and want to deploy on openshift origin. I get following error on openshift origin. Works perfectly on local. Is their a way to get around for this issue or I would need to built a custom image of mariadb? I am running as non-root. Following is my docker file.
Error:
The text was updated successfully, but these errors were encountered: