I need mount container's folder to host with all content from container.
In the container, there is this folder and there are a lot of files.
/u01/app/oracle/product/19.3.0/dbhome_1
On my host, I have this empty folder.
/opt/oracle/ohome
I need mount folder /u01/app/oracle/product/19.3.0/dbhome_1
from container to host folder /opt/oracle/ohome
, with all his content.
I need use files from container on host.
I tried this (and with source/target path changing too).
docker run -d -p 1521:1521 --shm-size=3g --name oracle -v /opt/oracle/ohome:/u01/app/oracle/product/19.3.0/dbhome_1 IMAGE
I tried with bind
too, but no success, folder is empty in every case.
How can I do that?
Thanks.
0 Answers