mac 安装docker运行环境

2017-8-30 aqi_wolf 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




标签: docker nginx

发表评论:

Powered by EMLOG Copyright @ 狼酒 版权所有. 闽ICP备14012694号-2