ztc1997 / ikuai-bypass

将在线规则添加到爱快的自定义运营商、域名分流和端口分流,并自动更新。
https://hub.docker.com/r/ztc1997/ikuai-bypass
92 stars 14 forks source link

最新版群晖启动失败 #7

Open chenlu964 opened 3 months ago

chenlu964 commented 3 months ago

配置没动,更新了镜像就启动不了了 报错如下: failed to create shim task: 0Cl runtime create failed: runc create failed: unable to start container process: exec:"./ikuai-bypass": permission denied: unknown

chenlu964 commented 3 months ago

77

Delyfeel commented 3 months ago

同样,ikuaidocker和unraid都无法运行最新版1.4

ZoftTy commented 3 months ago

手动添加 ikuai-bypass 的权限

chmod +x /build/ikuai-bypass

compose 如下:

services:
  ikuai-bypass:
    image: ztc1997/ikuai-bypass:latest
    container_name: ikuai-bypass
    command: "sh -c 'chmod +x ./ikuai-bypass && ./ikuai-bypass -c /etc/ikuai-bypass/config.yml'"
    volumes:
      - "/stacks/ikuai-bypass:/etc/ikuai-bypass"
Delyfeel commented 3 months ago
sh -c 'chmod +x ./ikuai-bypass && ./ikuai-bypass -c /etc/ikuai-bypass/config.yml'

多谢,按照您的提示,在爱快容器里添加启动命令“sh -c 'chmod +x ./ikuai-bypass && ./ikuai-bypass -c /etc/ikuai-bypass/config.yml'”成功启动了

chenlu964 commented 2 months ago

群晖用compose启动成功,最好还是和1.3一样 添加目录就能用就好了