docker-images icon indicating copy to clipboard operation
docker-images copied to clipboard

BUG, oradata must be mounted as volume not as shared filesystem with host os. Windows WSL not compatible.

Open yevon opened this issue 4 years ago • 0 comments

Mounting the oradata directory as shared filesystem is very problematic and causes Oracle docker databases to not work on Windows docker over WSL2. Why? Shared filesystems can't keep file permissions of the files and they always remain as owned by root user intead of oracle user. This causes you to not be able to connect as SYS to the database either locally or remote. Also another problem is performance as shared files with host have much worse performance than volumes.

Heavy usage directories as oradata must be volumes, and scripts config files etc is ok as shared volume.

I fixed it by myself but it would be nive having this as standard. Thanks for your work!.

yevon avatar Aug 07 '21 00:08 yevon