Coder.comC
Coder.com3y ago
12 replies
Marco

Docker-in-Docker

Hi there,

I'm relatively new to Coder. I'm running it in a physical machine via Docker and everything works flawlessly.

I created a "Develop in Docker" template with the standard settings and out of that successfully created my workspaces. All good.

I had to modify the template by adding some tools I might need in the workspace, all went fine but docker.

I need to have docker available to spawn other docker containers in the workspace. I tried following the usual guide (https://docs.docker.com/engine/install/ubuntu/) but I cannot start the docker engine, even as root I get access denied when docker is initialising the network.
failed to start daemon: Error initializing network controller: error creating default "bridge" network: operation not permitted

I guess it has to do with the main docker container not being started with the proper permissions but I'm not sure.

Any idea, what I can do for having docker-in-docker working here?
Was this page helpful?