Docker oracle images do not work on apple mac pro

Hi All,

Is there some specific steps to be followed to use the docker images for oracle 12/19 on mac pro with apple chip?

As of now, it just doesn’t work

cat: /sys/fs/cgroup/memory/memory.limit_in_bytes: No such file or directory

cat: /sys/fs/cgroup/memory/memory.limit_in_bytes: No such file or directory

/opt/oracle/runOracle.sh: line 102: [: -lt: unary operator expected

cat: /sys/fs/cgroup/memory/memory.limit_in_bytes: No such file or directory

cat: /sys/fs/cgroup/memory/memory.limit_in_bytes: No such file or directory

/opt/oracle/runOracle.sh: line 102: [: -lt: unary operator expected

Error: The ORACLE_SID must be alphanumeric.

Any trouble shooting tips and tricks?

What can be checked etc?

I don’t think the problem is the CPU. Docker Desktop for Mac runs containers in a virtual machine which uses Cgroup v2. If you copy the first line and paste it into the Google search bar, this is the first result:

Since you can’t (or should not) change the cgroup version inside the virtual machine, you should either try to find an other Docker image which works differently (if it exists) or run a virtual machine using UTM and install an operating system which uses Cgroup v1 and run the Oracle container in that VM.