-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Permission denied error for oracle/database:12.2.0.1-se2 container #783
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
Comments
if i delete "-v /home/DATA/oracle_12c/sharedData:/opt/oracle/oradata " ,it's successful,but add it that is failed..why.. |
I was strugling with the same issue, but it seems the host directory requires the same uid (and guid maybe) ownership as the oracle user inside the container. A workaround before starting the container: chown -R 54321:54321 /oradata/path/on/host |
Indeed, this is a permission error with your folder on your host. You have to make sure that user |
I'm closing this issue for now as there is nothing that we can do here. It's just how Docker volumes work. |
When running
docker run -it --name ora12c-r2 -p 1521:1521 -p 5500:5500 -e ORACLE_SID=ORCL -e ORACLE_PWD=123456 -e ORACLE_CHARACTERSET=AL32UTF8 -v /home/DATA/oracle_12c/sharedData:/opt/oracle/oradata oracle/database:12.2.0.1-se2
I get the following:The text was updated successfully, but these errors were encountered: