mac 安装docker运行环境
2017-8-30 docker
1. docker Build,Ship, and Run Any App, Anywhere
www.docker.org
1. 环境安装
下载docker mac 版本安装
https://www.docker.com/docker-mac
2. docker 镜像下载
docker pull nginx
3. docker 镜像运行 挂载本地文件系统,映射端口
docker run -ti -v /Users/xuyingqi/Desktop/project/nginx:/usr/shar/nginx -p 8080:80 nginx
mac 手动添加路由
2017-8-30 vpn
查看路由:
netstat -nr
添加路由不走vpn通道:
sudo route add 112.124.184.150/8 192.168.1.253