I tried to map data files and fast recovery directories in my oracle xe container. However, I changed my mind after losing files ... so you have to be very careful in this approach and understand how docker manages these spaces in all operations.
I found, for example, that if you empty old containers, the contents of the mapped directories will be deleted even if they are mapped to something outside the docker system area (/ var / lib / docker). You can avoid this by storing containers and starting them again. But, if you want to change the version and create a new image ... you need to backup these files.
Oracle also identifies the files themselves (checksum or inode # or something else) and complains about them at startup. I have not investigated the extent of this problem, or even if there really is any problem there.
I decided not to match any of these / dirs files and plan on using datapump or something else to get the data until I get the best handle to everything that can happen.
So, I am updating the data and version of the image ... by clicking on the repo to save
source share