diff --git a/README.md b/README.md index 0efc0da..1860555 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,15 @@ # 软采基础镜像 -包含dotnet 3.1 运行时,i386 架构支持,nats-server,运行管理 +包含dotnet 3.1 运行时,i386 架构支持,nats-server,运行管理,可上线UIOT平台,支持部署,远程访问 ### 编译 -`docker build -t gitiot.mgm-iot.com/iot_images/yuzhen_base:v1.0.2 .` +`docker build -t gitiot.mgm-iot.com/iot_images/yuzhen_base:vx.x.x .` ### docker 运行命令 -`docker run -v /home/yuzhen/fanucDocker/drvCfg:/yuzhen_iot/service_manage/equipment_manage/Drv/cfg -v /home/yuzhen/fanucDocker/log:/yuzhen_iot/service_manage/ftp/log_storage gitiot.mgm-iot.com/iot/yuzhen_fanuc:v0.0.1` +`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` --v 挂在配置文件路径和日志路径 \ No newline at end of file +* -p 51001:51001/udp ,透传UDP端口 +* -v 挂在配置文件 + +### 设置自动重启 +`docker update --restart=always ${CONTAINER}` \ No newline at end of file