标签:run gfs 图片 img 安装nginx ble 安装 lan 成功
docker pull nginx:latest
docker run --name vm-nginx -p 8080:80 -d nginx
http://192.168.110.100:8080/
FROM nginx RUN mkdir -p /basicfinder/log/nginx/ && rm -rf /etc/nginx/conf.d/* # install vim && apt-get update && apt-get install -y vim # install ping && apt install -y iputils-ping COPY ./conf.d/v3nf.conf /etc/nginx/conf.d
docker build -t nginx:cible1.0 .
docker run --name vm-basicfinder-v3nf-nginx -p 9080:80 -d -v /mnt/hgfs/basicfinder/v3nf-api:/basicfinder/www/v3nf.basicfinder.com/api --net vm-basicfinder-v3nf nginx:cible1.0
docker安装nginx及使用dockfile创建镜像和使用
标签:run gfs 图片 img 安装nginx ble 安装 lan 成功
原文地址:https://www.cnblogs.com/wanghaokun/p/14072308.html