You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's the issue, docker-containers widget is giving "ERROR fetching containers: sending request to socket: Get "http://docker/containers/json?all=true": dial unix /var/run/docker.sock: socket: permission denied"
I've literally run the install command from the install page that clones the files then I uncomment the line in docker-compose.yml that copies /var/run/docker.sock into the container. And finally edit config/home.yaml by changing "calender" to "docker-containers" and removing the line under it about start of day.
Doing just this has worked perfectly fine on two other servers that I tried it on.
$ la && la /var/run/docker.sock && groups && \cat docker-compose.yml && head config/home.yml
Octal Permissions Links Size User Name
0775 drwxrwxr-x 2 - pshock13 assets/
0775 drwxrwxr-x 2 - pshock13 config/
0644 .rw-r--r-- 1 205 pshock13 .env
0664 .rw-rw-r-- 1 409 pshock13 docker-compose.yml
Octal Permissions Links Size User Name
0660 srw-rw---- 1 - root /var/run/docker.sock=
pshock13 sudo users docker
services:
glance:
container_name: glance
image: glanceapp/glance
restart: unless-stopped
volumes:
- ./config:/app/config
- ./assets:/app/assets
- /etc/localtime:/etc/localtime:ro
# Optionally, also mount docker socket if you want to use the docker containers widget
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 8000:8080
env_file: .env
- name: Home
# Optionally, if you only have a single page you can hide the desktop navigation for a cleaner look
# hide-desktop-navigation: true
columns:
- size: small
widgets:
- type: docker-containers
- type: rss
limit: 10
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Here's the issue, docker-containers widget is giving
"ERROR fetching containers: sending request to socket: Get "http://docker/containers/json?all=true": dial unix /var/run/docker.sock: socket: permission denied"I've literally run the install command from the install page that clones the files then I uncomment the line in docker-compose.yml that copies /var/run/docker.sock into the container. And finally edit config/home.yaml by changing "calender" to "docker-containers" and removing the line under it about start of day.
Doing just this has worked perfectly fine on two other servers that I tried it on.
What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions