2024-08-21 14:21:59 +08:00
2024-05-08 14:26:33 +08:00
2024-04-19 10:39:18 +08:00
2024-05-08 14:26:33 +08:00
2024-08-21 14:21:59 +08:00
2024-04-19 10:39:18 +08:00
2024-08-21 14:21:59 +08:00
2024-05-08 14:26:33 +08:00

软采基础镜像

包含dotnet 3.1 运行时i386 架构支持nats-server运行管理,可上线UIOT平台支持部署远程访问

编译

docker build -t gitiot.mgm-iot.com/iot_images/yuzhen_base:vx.x.x .

docker 运行命令

docker run -d --name yzcol --restart always -v /etc/localtime:/etc/localtime gitiot.mgm-iot.com/iot_images/yuzhen_base:v1.0.4

  • -p 51001:51001/udp ,透传UDP端口
  • -p 51001-51099:51001-51099/udp ,透传UDP端口
  • -v 挂在配置文件
  • --name 容器名称,便于查找
  • --restart always ,自动重启
  • -d 后台运行
  • -v /etc/localtime:/etc/localtime ,保持和主机相同时区

设置自动重启

docker update --restart=always ${CONTAINER}

Description
软采基础镜像,包含dotnet 3.1 运行时,i386 架构支持,nats-server,运行管理
Readme 78 MiB
Languages
Dockerfile 75.8%
Shell 24.2%