欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

.net core 镜像在docker 中运行

程序员文章站 2024-03-12 21:58:44
...
#构建镜像
docker build -t linux.web:v1.0.2 .

#运行镜像
docker run -d -p 7005:80 -v /data/logs/linux.web:/app/logs --name linux.web3 linux.web:v1.0.2

 

相关标签: Docker