1 Star 1 Fork 0

van / dotnetrun

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

dotnetrun

dotnet core docker运行环境

对于需要频繁发布和测试的应用,docker的更新是在有点麻烦,于是做了这个镜像,将镜像的/app文件夹映射到宿主,这样只需要更新宿主的文件后重启docker实例即可完成更新。

  • 也可以用于centos6这类利用docker运行core应用
  • 需在映射的文件夹中加入一个run.sh脚本来启动实际应用,已有例子

其他改动

  • 默认为北京时间
  • 创建/MyData VOLUME

运行示例

docker run --name myapp --restart on-failure:5 --privileged=true -v ./data:/MyData -v ./appbin:/app -d vanjoge/dotnetrun

Repository Comments ( 0 )

Sign in to post a comment

About

dotnet core docker运行环境 expand collapse
Shell
Cancel

Releases

No release

dotnetrun

Contributors

All

Activities

Load More
can not load any more
Shell
1
https://gitee.com/vanjoge/dotnetrun.git
git@gitee.com:vanjoge/dotnetrun.git
vanjoge
dotnetrun
dotnetrun
master

Search