docker socket proxy
can someone tell me if this is correct for dock socket proxy.. i just realized mine has never been working lol xD checked logs and its clearly not finding the address
Error [TRPCError]: getaddrinfo ENOTFOUND dockersocket] {
code: 'INTERNAL_SERVER_ERROR',
ive set env variable Docker TCP Hosts: tcp://dockersocket:2375
38 Replies
Thank you for submitting a support request.
Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Which version are you in?
1.22.0
Okay any you have set which env variable(s) for docker?
on the unraid template it is

usually its DOCKER_HOST i also tried that
There is also a ports, right?
i dont see one for a port
Our current system is a bit stupid. You have to specify all hostnames and ports comma seperated, so it would be DOCKER_HOSTNAMES='dockersocket' and DOCKER_PORTS='2375'
Okay maybe there is no such setting for the unraid template yet, let me check
so dont use Docker TCP Hosts?
this is all i see under the template

There should be a
Docker TCP Hosts
and Docker TCP Host Ports

Or do you use a custom template?
ill create it. i may have removed them back when the template had a bunch going on.
Okay here is the link:
https://github.com/manuel-rw/unraid-templates/blob/9a73165d84aa8df2bfc33dfef7e011f7775735db/templates/homarr/homarr.xml#L50 (if this helps)
so dont put
tcp://dockersocket:2375
in the Docker TCP Hosts?In the future we'll probably replace the env variables with an actual integration
just put dockersocket
No just specify
dockersocket
for hosts and 2375
for portstryiing now. question, why isnt it the same as others with it just needing DOCKER_HOST: tcp://dockersocket:2375
still says failed too fetch
It was just implemented that way and we then did not think to much about it, as I said I don't like the system myself as it is really confusing
Okay but still ENOTFOUND or something different?
still ENOTFOUND
im wondering if since its different its not able too see my socket_poxy network
everything else is set up where all containers live on a docker network and the socketproxy is on a socket_proxy network
Yeah thats possible, because it seems like the dns entry is not present or similar
like so

its not seeing the network... hmmm maybe a limitation of how its set up in homarr?
Not sure, maybe the template just does not have more networks configured. Did not even know that it's possible to have a container in multiple of them
thats above me as well... ive always been able too just set container too use
DOCKER_HOST: tcp://dockersocket:2375
and so far its always worked like this. and simply adds the networkfor example here is crowdsec container and u can see above it sees it fine

id ask mani if he knows but i dont want too ping
Yeah, maybe he knows something more. IMO it would not really make sense that the DOCKER_HOST configuration would result in it having access to the other network (or beeing added automatically) because it will never know the existing domains (at least as far as I understand)
@Manicraft1001 sorry too ping... but could you possibly give your two cents on this..
@Meierschlumpf changing the dockersocket too the same network resulted in
Okay so the port seems not to be used?
yeah it seems too be ignoring the port env
this is correct right?

Yeah seems correct
can you confirm its working on your end?
I have not tested myself using it with a docker proxy, I would first need to setup one
Can you create an issue on GitHub so we can investigate as part of it and fix it if there is an issue in our code?
well im not really sure if theres any thing more i can do.. yes will do.
#3338