Docker in Docker on envbuilder has permission issues on non-root user Devcontainers.
Hi all, I was able to run native Coder on my Linux machine, and everything is now working.
My question is just that when I use Envbuilder to build devcontainer, the docker socket runs properly, but I can't seem to apply the necessary Docker permissions on the
coder
user, only the root
has access to docker CLI. I am using sysbox, my resource "docker_container" contains
For reference, I already tried these commands below, I also logged in to another shell, but the same issue persists.
4 Replies
<#1363698304277549127>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
@pitcrew did you install the docker in docker devcontainer feature in your devcontainer spec?
though given what you have already done, i doubt it'd do much more
I hadn't done that, I am actually just using the
runtime = "sysbox-runc"
argument in the .tf file.
I'll try to add it just in case, I'll post a GitHub issue for this if I can't resolve it myself tomorrow, thank you!have you done any other edits to the template?
any edits to the image maybe?