docker實踐之nginx

Docker的說明和安裝 docker的常用命令 1、下載鏡像 下載最新的nginx鏡像:docker pull nginx 也可以指定版本:docker pull nginx:1.12 2、創建linux文件夾和nginx的配置文件 /opt/mynginx/www :用於存放站點代碼 /opt/mynginx/logs  :存放日誌 /opt/mynginx/conf/nginx.conf 
相關文章
相關標籤/搜索