flutter_server_box icon indicating copy to clipboard operation
flutter_server_box copied to clipboard

docker容器监控问题

Open wfniub opened this issue 1 year ago • 20 comments

您好大佬,请问docker容器监控一直看不到如何处理,再服务器里面输入echo $DOCKER_HOST 显示为空 请问具体如何设置!

wfniub avatar Sep 14 '23 01:09 wfniub

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: docker container monitoring issues

Hello boss, please tell me how to deal with the problem that I can't see the docker container monitoring. When I enter echo $DOCKER_HOST in the server, it shows that it is empty. Please tell me how to set it up!

Issues-translate-bot avatar Sep 14 '23 01:09 Issues-translate-bot

app 里服务器信息内的用户和安装 docker 的用户相同吗?分别是?

lollipopkit avatar Sep 14 '23 07:09 lollipopkit

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Is the user in the server information in the app the same as the user who installed docker? What are the differences?

Issues-translate-bot avatar Sep 14 '23 07:09 Issues-translate-bot

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Is the user in the server information in the app the same as the user who installed docker? What are the differences?

Exploring the reasons why docke cannot be displayed in Synology: The directory of docker in Synology is as follows: Docker directory structure On Synology NAS, Docker stores containers and data in specific directories. The following is an overview of the Synology Docker directory structure: /volume1/docker: This is the root directory of Docker, which contains all containers and related data. /volume1/docker/containers: This directory contains all containers, each container has a separate directory. /volume1/docker/volumes: This directory contains all data volumes, each data volume has a separate directory. /volume1/docker-images: This directory contains all Docker images. Different from general linux, do the developers have any solutions?

Issues-translate-bot avatar Sep 15 '23 07:09 Issues-translate-bot

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


add another point Synology server is not turned on /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock All my successful servers have this

Issues-translate-bot avatar Sep 15 '23 07:09 Issues-translate-bot

好的,谢谢!

wfniub avatar Sep 15 '23 07:09 wfniub

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


OK, thanks!

Issues-translate-bot avatar Sep 15 '23 07:09 Issues-translate-bot

怎么弄的,我openwrt也是这样

zheshi111 avatar Oct 13 '23 14:10 zheshi111

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


How did you do it? My openwrt is like this too.

Issues-translate-bot avatar Oct 13 '23 14:10 Issues-translate-bot

debian 的 docker 的 socket 默认在/var/run/docker.sock,然而我改成socket:///var/run/docker.sock也没用,系统用的 Debian 12,docker 是最新发行版,登录的 root 账户

wc7086 avatar Oct 20 '23 15:10 wc7086

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Debian's docker's socket defaults in /var/run/docker.sock, but I change it

Issues-translate-bot avatar Oct 20 '23 15:10 Issues-translate-bot

Same problem 'No running container.' on debian 12,can't get docker status and follow instruction 'echo $DOCKER_HOST in terminal' does not work.

ni7ht avatar Oct 27 '23 03:10 ni7ht

之前有一版可以,后面更新又没了,ubuntu 非 root 用户

u-Sir avatar Oct 28 '23 05:10 u-Sir

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


There was a version that worked before, but later updates disappeared. Ubuntu is a non-root user.

Issues-translate-bot avatar Oct 28 '23 05:10 Issues-translate-bot

有没有一种可能,你们登陆ssh的用户跟你们创建docker的用户权限不同,或者说不是同一个账户?

lologu1 avatar Dec 19 '23 19:12 lologu1

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Is it possible that the user you log in to via ssh has different permissions from the user you used to create docker, or is it not the same account?

Issues-translate-bot avatar Dec 19 '23 19:12 Issues-translate-bot

有没有一种可能,你们登陆ssh的用户跟你们创建docker的用户权限不同,或者说不是同一个账户?

然而这个问题已经修复了 https://github.com/lollipopkit/flutter_server_box/commit/f093853d21f0904d8b89b5040761f6a07af7f84b

wc7086 avatar Dec 21 '23 19:12 wc7086

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Is it possible that the user you use to log in to SSH has different permissions from the user you used to create docker, or is it not the same account?

However this issue has been fixed https://github.com/lollipopkit/flutter_server_box/commit/f093853d21f0904d8b89b5040761f6a07af7f84b

Issues-translate-bot avatar Dec 21 '23 19:12 Issues-translate-bot