-
docker pull registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g
-
docker run --name oracle_temp -p 1521:1521 --privileged=true -d registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g:latest
-
这里可能会报启动失败的问题,报Exited 139。
需要在%userprofile%文件夹下创建一个.wslconfig文件
win + r 打开对应文件夹
-
文件内容
[wsl2]
kernelCommandLine = vsyscall=emulate
- 然后在cmd中执行 wsl --shutdown
- 重新启动docker即可