stuck on docker integration

evening, all. trying to get homarr working with all of my containers and i am not seeing anything reflected in the UI or logs to say this is working (or even that it's broken). config:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
environment:
- TZ=America/New_York
restart: unless-stopped
volumes:
- /home/docker/homarr/configs:/app/data/configs
- /home/docker/homarr/icons:/app/public/icons
- /var/run/docker.sock:/var/run/docker.sock
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
environment:
- TZ=America/New_York
restart: unless-stopped
volumes:
- /home/docker/homarr/configs:/app/data/configs
- /home/docker/homarr/icons:/app/public/icons
- /var/run/docker.sock:/var/run/docker.sock
28 Replies
themeatsweats
themeatsweatsOP17mo ago
is there additional setup required after mounting the socket? if so, i am not seeing where
Manicraft1001
Manicraft100117mo ago
No, it should work like that. Do you see a Docker icon at the top right of your dashboard?
themeatsweats
themeatsweatsOP17mo ago
negative
No description
Manicraft1001
Manicraft100117mo ago
Does /var/run/docker.sock on your host system actually exist? And what version of Docker do you have installed?
themeatsweats
themeatsweatsOP17mo ago
No description
themeatsweats
themeatsweatsOP17mo ago
$ docker version
Client: Docker Engine - Community
Version: 20.10.15
API version: 1.41
Go version: go1.17.9
Git commit: fd82621
Built: Thu May 5 13:21:10 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
$ docker version
Client: Docker Engine - Community
Version: 20.10.15
API version: 1.41
Go version: go1.17.9
Git commit: fd82621
Built: Thu May 5 13:21:10 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Manicraft1001
Manicraft100117mo ago
How did you add the socket? Did you do compose down or compose restart?
themeatsweats
themeatsweatsOP17mo ago
docker-compose up -d after adding it to my compose
Manicraft1001
Manicraft100117mo ago
Can you down it and up it again? Ensure, that you have a backup of your config - in case anything goes wrong
themeatsweats
themeatsweatsOP17mo ago
does the container detection only span whatever network homarr is on?
Manicraft1001
Manicraft100117mo ago
You mean the ping?
themeatsweats
themeatsweatsOP17mo ago
maybe
Manicraft1001
Manicraft100117mo ago
The Docker container detection will only detect, if you have a valid docket socket and if there are container in it
themeatsweats
themeatsweatsOP17mo ago
No description
Manicraft1001
Manicraft100117mo ago
Okay.. @tagaishi do you have an idea? Looks like the socket syslink is there. And it also seems to be mounted correcty..
Serenaphic
Serenaphic17mo ago
I don't use docker, I didn't understand a thing x)
themeatsweats
themeatsweatsOP17mo ago
T_T
Manicraft1001
Manicraft100117mo ago
@ajnart can you maybe help?
Thomas
Thomas17mo ago
Yeah
Thomas
Thomas17mo ago
@themeatsweats Settings -> Customizations -> Layout -> Enable Docker integration
No description
themeatsweats
themeatsweatsOP17mo ago
derp got it
Thomas
Thomas17mo ago
ahahahah @manicraft1001 you didn't think about that ?
Manicraft1001
Manicraft100117mo ago
Ah... No, I didn't lmao
Serenaphic
Serenaphic17mo ago
This needs to activate automatically on the onboarding to whomever is doing the docker part
themeatsweats
themeatsweatsOP17mo ago
is it intentional that i can't add multiple containers at the same time? checking a 2nd grays out the add to homarr button nvm, looks like it due to the next modal with config stuff
Thomas
Thomas17mo ago
yeah You have to add them one by one atm. In the future we might allow you to configure some kind of default IP to import everything at once. I think it's already the case in our test version
themeatsweats
themeatsweatsOP17mo ago
i'd be happy to try that out is there a docker tag i should be looking for? dev, beta?
Thomas
Thomas17mo ago
Well make a public beta “soon”
Want results from more Discord servers?
Add your server