Closed choque88 closed 1 year ago
Hi!
I want to change some settings in the settings.xml of the ORDS instance so I connect to the container via
docker exec -it <container_name> /bin/sh
Then I tried copying the settings.xml to the /files/ folder
sh-4.2$ cp /opt/oracle/oradata/ordsconfig/PDB01/global/settings.xml /tmp/files/settings.xml sh-4.2$ cp: cannot create regular 'tmp/files/settings.xml': Permission denied
Editing the file with vi, vim or nano doesn't work either, since none of those editors are installed.
So what I'm asking is, what's the password for the root account of the container? Meaning, what's the password I have to enter when doing
sh-4.2$ su
Then I'd be able to copy or edit the file. Thanks!
Ok, nevermind. Just found out about the -u 0 option of the docker exec command...
-u 0
Hi!
I want to change some settings in the settings.xml of the ORDS instance so I connect to the container via
Then I tried copying the settings.xml to the /files/ folder
Editing the file with vi, vim or nano doesn't work either, since none of those editors are installed.
So what I'm asking is, what's the password for the root account of the container? Meaning, what's the password I have to enter when doing
Then I'd be able to copy or edit the file. Thanks!