第一步:安装docker
yum update
第二步:安装docker
yum install docker
第三步:注册阿里云加还器
第四步:找到加速器的地址
sudo mkdir -p /etc/dockersudo tee /etc/docker/daemon.json <<-'EOF'{ "registry-mirrors": ["https://oVVVV2.mirror.aliyuncs.com"]}EOFsudo systemctl daemon-reloadsudo systemctl restart docker
下面安装oracle docker
docker pull alexeiled/docker-oracle-xe-11g
docker run -d --shm-size=2g -p 1521:1521 -p 8080:8080 alexeiled/docker-oracle-xe-11g
使用以下设置连接数据库:
hostname: localhostport: 1521sid: xeusername: systempassword: oracle
username:
SYS
password:oracle
url: http://localhost:8080/apexworkspace: internaluser: adminpassword: oracle