Ubuntu 安装docker:
- apt-get remove docker docker-engine docker.io containerd runc
- apt-get update
- apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- apt-key fingerprint 0EBFCD88
- add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" - apt-get update
- apt-get install docker-ce docker-ce-cli containerd.io
- 验证安装成功docker ps
用docker安装oracle11g
- docker pull registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g
- docker run -d -p 1521:1521 --name oracle11g registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g