Docker in Docker does not work with docker devcontainer template
Hi,
i want to run docker in docker in a devcontainer but docker does not work.
When using envbuilder standalone it works:
but with the docker in docker devcontainer feature set in devcontainer.json the docker daemon cant start:
can someone help me with this?
5 Replies
hello @Greenman999 could you send over your template?
just to make sure, you're running a regular Coder workspace, and inside that workspace you're starting a devcontainer from VSCode?
no my template is originally the docker envbuilder devcontainer one
ah thanks, will try this as soon as i can
in your case you'd need to install the Sysbox runtime and set
runtime = "sysbox-ce"
(IIRC) in your docker_container
resource