onlyLTY / dockerCopilot

一键更新容器
259 stars 34 forks source link

绿联升级系统后安装最新版镜像无限重启 #70

Closed CleverMod closed 1 day ago

CleverMod commented 1 day ago

�2024/10/01 12:52:03 Unable to fetch docker images: Cannot connect to the Docker daemon at tcp://127.0.0.1:9375. Is the docker daemon running? �2024/10/01 12:52:03 Unable to fetch docker images: Cannot connect to the Docker daemon at tcp://127.0.0.1:9375. Is the docker daemon running? �2024/10/01 12:52:04 Unable to fetch docker images: Cannot connect to the Docker daemon at tcp://127.0.0.1:9375. Is the docker daemon running? �2024/10/01 12:52:05 Unable to fetch docker images: Cannot connect to the Docker daemon at tcp://127.0.0.1:9375. Is the docker daemon running? �2024/10/01 12:52:06 Unable to fetch docker images: Cannot connect to the Docker daemon at tcp://127.0.0.1:9375. Is the docker daemon running?

CleverMod commented 1 day ago

services: dockercopilot: image: 0nlylty/dockercopilot:UGREEN container_name: dockercopilot restart: unless-stopped volumes:

onlyLTY commented 1 day ago

services: dockercopilot: image: 0nlylty/dockercopilot:UGREEN container_name: dockercopilot restart: unless-stopped volumes:

DOCKER_HOST=unix:///var/run/docker.sock HTTP_PROXY: "http://192.168.6.2:7890/" HTTPS_PROXY: "http://192.168.6.2:7890/" ALL_PROXY: "http://192.168.6.2:7890/" NO_PROXY: "172.17.0.1,127.0.0.1,localhost" secretKey: "aaa" TZ: "Asia/Shanghai" PUID: "0" PGID: "0"

onlyLTY commented 1 day ago

你的compose缺少了一个环境变量。给你补上了

onlyLTY

---- william @.***> 在 Tue, 01 Oct 2024 14:54:13 +0800 写到:---

services: dockercopilot: image: 0nlylty/dockercopilot:UGREEN container_name: dockercopilot restart: unless-stopped volumes:

/volume4/512G/DockerConfig/dockercopilot:/data environment:

DOCKER_HOST=unix:///var/run/docker.sock HTTP_PROXY: "http://192.168.6.2:7890/" HTTPS_PROXY: "http://192.168.6.2:7890/" ALL_PROXY: "http://192.168.6.2:7890/" NO_PROXY: "172.17.0.1,127.0.0.1,localhost" secretKey: "aaa" TZ: "Asia/Shanghai" PUID: "0" PGID: "0"

啥意思 大佬 这跟我发的compose有啥区别

— Reply to this email directly, https://github.com/onlyLTY/dockerCopilot/issues/70#issuecomment-2384943239, or https://github.com/notifications/unsubscribe-auth/ALDXEOHOJW47QNAOH5DSEQDZZJBJLAVCNFSM6AAAAABPEXHDA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUHE2DGMRTHE. You are receiving this because you modified the open/close state.

CleverMod commented 1 day ago

你的compose缺少了一个环境变量。给你补上了 onlyLTY ---- william @.***> 在 Tue, 01 Oct 2024 14:54:13 +0800 写到:--- services: dockercopilot: image: 0nlylty/dockercopilot:UGREEN container_name: dockercopilot restart: unless-stopped volumes: /volume4/512G/DockerConfig/dockercopilot:/data environment: DOCKER_HOST=unix:///var/run/docker.sock HTTP_PROXY: "http://192.168.6.2:7890/" HTTPS_PROXY: "http://192.168.6.2:7890/" ALL_PROXY: "http://192.168.6.2:7890/" NO_PROXY: "172.17.0.1,127.0.0.1,localhost" secretKey: "aaa" TZ: "Asia/Shanghai" PUID: "0" PGID: "0" 啥意思 大佬 这跟我发的compose有啥区别 — Reply to this email directly, #70 (comment), or https://github.com/notifications/unsubscribe-auth/ALDXEOHOJW47QNAOH5DSEQDZZJBJLAVCNFSM6AAAAABPEXHDA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUHE2DGMRTHE. You are receiving this because you modified the open/close state. 还是不行 报以下错误: 024/10/01 14:56:21 Unable to fetch docker images: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? �2024/10/01 14:56:22 Unable to fetch docker images: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? �2024/10/01 14:56:22 Unable to fetch docker images: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? �2024/10/01 14:56:23 Unable to fetch docker images: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? �2024/10/01 14:56:24 Unable to fetch docker images: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

CleverMod commented 1 day ago

这是最新的compose services: dockercopilot: image: 0nlylty/dockercopilot:UGREEN container_name: dockercopilot restart: unless-stopped volumes:

onlyLTY commented 1 day ago

哦对了。还需要个东西

privileged: true

onlyLTY

---- william @.***> 在 Tue, 01 Oct 2024 14:58:44 +0800 写到:---

你的compose缺少了一个环境变量。给你补上了 onlyLTY # ---- william @.***> 在 Tue, 01 Oct 2024 14:54:13 +0800 写到:--- services: dockercopilot: image: 0nlylty/dockercopilot:UGREEN container_name: dockercopilot restart: unless-stopped volumes: /volume4/512G/DockerConfig/dockercopilot:/data environment: DOCKER_HOST=unix:///var/run/docker.sock HTTP_PROXY: "http://192.168.6.2:7890/" HTTPS_PROXY: "http://192.168.6.2:7890/" ALL_PROXY: "http://192.168.6.2:7890/" NO_PROXY: "172.17.0.1,127.0.0.1,localhost" secretKey: "aaa" TZ: "Asia/Shanghai" PUID: "0" PGID: "0" 啥意思 大佬 这跟我发的compose有啥区别 — Reply to this email directly, https://github.com/onlyLTY/dockerCopilot/issues/70#issuecomment-2384943239, or https://github.com/notifications/unsubscribe-auth/ALDXEOHOJW47QNAOH5DSEQDZZJBJLAVCNFSM6AAAAABPEXHDA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUHE2DGMRTHE. You are receiving this because you modified the open/close state. 还是不行 报以下错误: 024/10/01 14:56:21 Unable to fetch docker images: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 2024/10/01 14:56:22 Unable to fetch docker images: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 2024/10/01 14:56:22 Unable to fetch docker images: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 2024/10/01 14:56:23 Unable to fetch docker images: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 2024/10/01 14:56:24 Unable to fetch docker images: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

— Reply to this email directly, https://github.com/onlyLTY/dockerCopilot/issues/70#issuecomment-2384949996, or https://github.com/notifications/unsubscribe-auth/ALDXEOBQUVBFBJXJU7IGDPDZZJB2JAVCNFSM6AAAAABPEXHDA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUHE2DSOJZGY. You are receiving this because you modified the open/close state.

onlyLTY commented 1 day ago

还有

volumes:

onlyLTY

---- william @.***> 在 Tue, 01 Oct 2024 14:59:36 +0800 写到:---

这是最新的compose services: dockercopilot: image: 0nlylty/dockercopilot:UGREEN container_name: dockercopilot restart: unless-stopped volumes:

CleverMod commented 1 day ago

谢谢大佬 可以了