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
themeatsweatsOP16mo ago
is there additional setup required after mounting the socket? if so, i am not seeing where
Manicraft1001
Manicraft100116mo ago
No, it should work like that. Do you see a Docker icon at the top right of your dashboard?
themeatsweats
themeatsweatsOP16mo ago
negative
No description
Manicraft1001
Manicraft100116mo ago
Does /var/run/docker.sock on your host system actually exist? And what version of Docker do you have installed?
themeatsweats
themeatsweatsOP16mo ago
No description
themeatsweats
themeatsweatsOP16mo 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
Manicraft100116mo ago
How did you add the socket? Did you do compose down or compose restart?
themeatsweats
themeatsweatsOP16mo ago
docker-compose up -d after adding it to my compose
Manicraft1001
Manicraft100116mo ago
Can you down it and up it again? Ensure, that you have a backup of your config - in case anything goes wrong
themeatsweats
themeatsweatsOP16mo ago
does the container detection only span whatever network homarr is on?
Manicraft1001
Manicraft100116mo ago
You mean the ping?
themeatsweats
themeatsweatsOP16mo ago
maybe
Manicraft1001
Manicraft100116mo ago
The Docker container detection will only detect, if you have a valid docket socket and if there are container in it
themeatsweats
themeatsweatsOP16mo ago
No description
Manicraft1001
Manicraft100116mo ago
Okay.. @tagaishi do you have an idea? Looks like the socket syslink is there. And it also seems to be mounted correcty..
Serenaphic
Serenaphic16mo ago
I don't use docker, I didn't understand a thing x)
themeatsweats
themeatsweatsOP16mo ago
T_T
Manicraft1001
Manicraft100116mo ago
@ajnart can you maybe help?
Thomas
Thomas16mo ago
Yeah
Thomas
Thomas16mo ago
@themeatsweats Settings -> Customizations -> Layout -> Enable Docker integration
No description
themeatsweats
themeatsweatsOP16mo ago
derp got it
Thomas
Thomas16mo ago
ahahahah @manicraft1001 you didn't think about that ?
Manicraft1001
Manicraft100116mo ago
Ah... No, I didn't lmao
Serenaphic
Serenaphic16mo ago
This needs to activate automatically on the onboarding to whomever is doing the docker part
themeatsweats
themeatsweatsOP16mo 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
Thomas16mo 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
themeatsweatsOP16mo ago
i'd be happy to try that out is there a docker tag i should be looking for? dev, beta?
Thomas
Thomas16mo ago
Well make a public beta “soon”
Want results from more Discord servers?
Add your server