yuzhen_base/README.md
2024-05-08 15:11:10 +08:00

15 lines
540 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 软采基础镜像
包含dotnet 3.1 运行时i386 架构支持nats-server运行管理,可上线UIOT平台支持部署远程访问
### 编译
`docker build -t gitiot.mgm-iot.com/iot_images/yuzhen_base:vx.x.x .`
### docker 运行命令
`docker run -p 51001:51001/udp -v /path/Prod_connect.json:/yuzhen_iot/prod_manage/cfg/Prod_connect.json gitiot.mgm-iot.com/iot_images/yuzhen_base:v1.0.4`
* -p 51001:51001/udp ,透传UDP端口
* -v 挂在配置文件
### 设置自动重启
`docker update --restart=always ${CONTAINER}`