Oracle's docker container cannot be restarted. How can I deal with this problem?

Alibaba cloud Q & A 2022-02-13 06:37:40 阅读数:986

oracle docker container restarted. restarted

I use it sath89/oracle-12c This mirror image docker run~ It can be used normally after startup , But when you close the container, you can't get up My startup command :

docker run -d -p 8080:8080 -p 1521:1521 sath89/oracle-12c

Container error log : ......

Import finishedDatabase ready to use. Enjoy! ;)Database closed.Database dismounted.found files in /u01/app/oracle/oradata Using them instead of initial databaserm: cannot remove '/u01/app/oracle-product/12.1.0/xe/dbs': Directory not empty**



Take the answer 1:

Hello! , stay docker The configuration directory /var/lib/docker To execute the command :

mkfs -t xfs -n ftype=1 /PATH/TO/DEVICE

original text :https://github.com/moby/moby/issues/27214


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130637381637.html