【Linux】Linux下使用Docker快速部署Oracle数据库
- 安装最新Docker
wget -qO- https://get.docker.com/ | sh`
- 安装 docker-compose
sudo curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose
- docker-compose.yml配置文件
version: '2' services: oracle: # sid: xe # username: system # password: oracle image: sath89/oracle-xe-11g volumes: - /my-docker-data/oracle-11g/data:/u01/app/oracle ports: - 1521:1521
- 启动:
- 进入
docker-compose.yml
所在目录 -
docker-compose up -d
- 进入