共计 519 个字符,预计需要花费 2 分钟才能阅读完成。
docker service create --replicas 1 --name hndf-admin-go-api -p 8080:8080 --mount type=bind,src=/www/wwwroot/hndf_admin.devtest/config,dst=/go/src/config --mount type=bind,src=/www/wwwroot/hndf_admin.devtest/res,dst=/go/src/res --mount type=bind,src=/www/wwwroot/hndf_admin.devtest/wwwroot,dst=/go/src/wwwroot --mount type=bind,src=/www/wwwroot/hndf_admin.devtest/tmp,dst=/go/src/tmp registry.cn-shenzhen.aliyuncs.com/xxx/xxx:v0.0.2
--mount type=bind,src=/www/wwwroot/hndf_admin.devtest/tmp,dst=/go/src/tmp,readonly
例如上面,后面带上 ,readonly
的说明是只读
正文完