Able to switch user to oracle successfully
su: cannot open session: Permission denied
I’m trying to run Oracle 188.8.131.52 container in my Docker and I’m unable to su to oracle user in bash with error permission denied. Currently I’m using the latest Docker Version 18.06.1-ce-win73 (19507) under Windows 10 Pro Version 1803 build 17134.407. My Docker is set to Windows container with Experimental features enabled so that I can run Linux containers in LCOW setup.
When I was using Linux container without experimental features in the past, I was able to configure Oracle and su oracle in bash successfully. However after I switch to Windows container and enable experimental features, I was not able to su oracle in bash.
Steps to reproduce the behavior
1 Execute docker run image
docker run --platform=linux -d -it --name OracleDB --shm-size=4G -p 1521:1521 container-registry.oracle.com/database/enterprise:184.108.40.206
2 Execute bash to Oracle DB container
docker exec -it OracleDB bash
3 su oracle