unicom-task icon indicating copy to clipboard operation
unicom-task copied to clipboard

在n1里面部署docker出错

Open jmullen2 opened this issue 3 years ago • 9 comments

启动docker出错,提示 Containers: start 7e71f54f842cfbea7f5af878a6a69f25bf19bf5bc0f912cb97a807aac3b39daf...code:304 Not Modified 是什么情况,

jmullen2 avatar Aug 30 '21 03:08 jmullen2

standard_init_linux.go:211: exec user process caused "exec format error,是不是镜像不兼容arm的cpu

jmullen2 avatar Aug 30 '21 03:08 jmullen2

R2S也一样……

edison0354 avatar Aug 31 '21 07:08 edison0354

同n1部署失败

gold2wave avatar Aug 31 '21 08:08 gold2wave

换个镜像,R2S亲测可用,可以进去容器手动跑一遍试试先~

https://github.com/srcrs/unicom-task/issues/6#issuecomment-886178124

edison0354 avatar Aug 31 '21 08:08 edison0354

换个镜像,R2S亲测可用,可以进去容器手动跑一遍试试先~

#6 (comment)

请问可以具体说说怎么操作吗?谢谢

gold2wave avatar Aug 31 '21 23:08 gold2wave

换个镜像,R2S亲测可用,可以进去容器手动跑一遍试试先~

#6 (comment)

Error response from daemon: Container cf3f618f79baa1cd47ee48c7f112203e6fa56475bea60c8221fc029c52690c63 is restarting, wait until the container is running 运行出错

gold2wave avatar Sep 01 '21 01:09 gold2wave

换个镜像,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

edison0354 avatar Sep 01 '21 06:09 edison0354

换个镜像,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

Dellear avatar Sep 02 '21 17:09 Dellear

换个镜像,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

可以了,谢谢大佬的仓库,很方便

gold2wave avatar Sep 03 '21 23:09 gold2wave