Mac下用Docker运行Oracle

一、Mac下需要借助Boot2Docker才能运行Docker,安装Boot2Docker

1.下载pkg格式安装器https://github.com/boot2docker/osx-installer/releases/latest,双击安装即可;
2.初始化,运行一次即可 
 
boot2docker init

3.启动,每次关机后需要启动 
 
boot2docker start

4.设置环境变量
 
eval "$(boot2docker shellinit)"

5.验证一下,提示成功信息就配置完了
 
docker run hello-world

猜你喜欢

转载自www.linuxidc.com/Linux/2016-07/133144.htm
今日推荐