unicom-task
unicom-task copied to clipboard
在n1里面部署docker出错
启动docker出错,提示 Containers: start 7e71f54f842cfbea7f5af878a6a69f25bf19bf5bc0f912cb97a807aac3b39daf...code:304 Not Modified 是什么情况,
standard_init_linux.go:211: exec user process caused "exec format error,是不是镜像不兼容arm的cpu
R2S也一样……
同n1部署失败
换个镜像,R2S亲测可用,可以进去容器手动跑一遍试试先~
https://github.com/srcrs/unicom-task/issues/6#issuecomment-886178124
换个镜像,R2S亲测可用,可以进去容器手动跑一遍试试先~
Error response from daemon: Container cf3f618f79baa1cd47ee48c7f112203e6fa56475bea60c8221fc029c52690c63 is restarting, wait until the container is running 运行出错
换个镜像,R2S亲测可用,可以进去容器手动跑一遍试试先~ #6 (comment)
Error response from daemon: Container cf3f618f79baa1cd47ee48c7f112203e6fa56475bea60c8221fc029c52690c63 is restarting, wait until the container is running 运行出错
你用啥跑的?就把拉取镜像名字换一下就好了啊。不行的话把旧的容器删干净重来试试?
docker-compose的话改成这样
version: "3.1"
services:
unicom-task:
image: dellear/unicom-task:latest
working_dir: /root
network_mode: "host"
restart: always
command:
- /bin/bash
- -c
- |
service cron start
sleep infinity
volumes:
- $PWD/config:/config
换个镜像,R2S亲测可用,可以进去容器手动跑一遍试试先~ #6 (comment)
Error response from daemon: Container cf3f618f79baa1cd47ee48c7f112203e6fa56475bea60c8221fc029c52690c63 is restarting, wait until the container is running 运行出错
你用啥跑的?就把拉取镜像名字换一下就好了啊。不行的话把旧的容器删干净重来试试?
docker-compose的话改成这样
version: "3.1" services: unicom-task: image: dellear/unicom-task:latest working_dir: /root network_mode: "host" restart: always command: - /bin/bash - -c - | service cron start sleep infinity volumes: - $PWD/config:/config
我的镜像默认已经启动cron,不需要额外操作的 今天readme增加了使用方法 https://github.com/Dellear/UnicomTaskDocker
换个镜像,R2S亲测可用,可以进去容器手动跑一遍试试先~ #6 (comment)
Error response from daemon: Container cf3f618f79baa1cd47ee48c7f112203e6fa56475bea60c8221fc029c52690c63 is restarting, wait until the container is running 运行出错
你用啥跑的?就把拉取镜像名字换一下就好了啊。不行的话把旧的容器删干净重来试试? docker-compose的话改成这样
version: "3.1" services: unicom-task: image: dellear/unicom-task:latest working_dir: /root network_mode: "host" restart: always command: - /bin/bash - -c - | service cron start sleep infinity volumes: - $PWD/config:/config
我的镜像默认已经启动cron,不需要额外操作的 今天readme增加了使用方法 https://github.com/Dellear/UnicomTaskDocker
可以了,谢谢大佬的仓库,很方便