H
Homarr3mo ago
tucker19

Docker Plugin Help

So when I try to use the Docker stuff I see this error in my logs
2025-05-27T14:00:46.761Z error: tRPC Error with query on 'docker.getContainers'
at Object.onError (/app/apps/nextjs/.next/server/app/api/trpc/[trpc]/route.js:1:5059)
at Object.onError (/app/apps/nextjs/.next/server/app/api/trpc/[trpc]/route.js:1:4213)
at /app/apps/nextjs/.next/server/chunks/4617.js:98:5069
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async /app/apps/nextjs/.next/server/chunks/4617.js:98:7029
at async /app/apps/nextjs/.next/server/chunks/4617.js:86:837551
caused by Error: connect EACCES /var/run/docker.sock errno="-13" code="EACCES" syscall="connect" address="/var/run/docker.sock"
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1636:16)
at PipeConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)
2025-05-27T14:00:46.761Z error: tRPC Error with query on 'docker.getContainers'
at Object.onError (/app/apps/nextjs/.next/server/app/api/trpc/[trpc]/route.js:1:5059)
at Object.onError (/app/apps/nextjs/.next/server/app/api/trpc/[trpc]/route.js:1:4213)
at /app/apps/nextjs/.next/server/chunks/4617.js:98:5069
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async /app/apps/nextjs/.next/server/chunks/4617.js:98:7029
at async /app/apps/nextjs/.next/server/chunks/4617.js:86:837551
caused by Error: connect EACCES /var/run/docker.sock errno="-13" code="EACCES" syscall="connect" address="/var/run/docker.sock"
at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1636:16)
at PipeConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)
11 Replies
Cakey Bot
Cakey Bot3mo ago
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?
Manicraft1001
Manicraft10013mo ago
Do you use TrueNAS?
tucker19
tucker19OP3mo ago
Nope, Ubuntu
tucker19
tucker19OP3mo ago
I am running this as User PUID/PGID 1000, same user as I have Portainer running (I only use Portainer for easy monitoring and while I am away admin, I have everything in compose to truly do anything)
Manicraft1001
Manicraft10013mo ago
Doesn't matter what you run Portainer as. Have you read the page?
tucker19
tucker19OP3mo ago
Yes I have read the page. PUID/PGID 1000 should work just fine. AH, I see the PGID is hardcoded to 999... Is there anyway not to have that hardcoded as that will break what I have everything running as as PUID/PGID
Manicraft1001
Manicraft10013mo ago
No, not at the moment.
tucker19
tucker19OP3mo ago
Would it be worth it for me to open a request up?
Manicraft1001
Manicraft10013mo ago
You can just create a user on your host with 999 and permit it to access the socket Otherwise, run Homarr as root. Understand the risks when you do it 🙂
tucker19
tucker19OP3mo ago
I am not running as root as that would also break how I am running things. I also dont want a special user just for this one container

Did you find this page helpful?