会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
张碧晨
博客园
首页
新随笔
联系
订阅
管理
2024年5月30日
docker安装nginx
摘要: 1.拉取镜像 docker pull nginx 2.创建容器 docker run --name my-nginx -p 80:80 -d nginx 3.找个文件夹创建以下目录,mkdir -p {conf,conf.d,html,logs} 4.从创建的nginx容器中复制配置文件到本地目录
阅读全文
posted @ 2024-05-30 16:10 张碧晨
阅读(32)
评论(0)
推荐(0)
公告