tankerkiller125
tankerkiller125
CCoder.com
Created by tankerkiller125 on 6/23/2024 in #help
Docker Devcontainer Template Broken?
So I'm using the Devcontainer template from https://registry.coder.com/templates/devcontainer-docker (slightly customized to add a cache), and every single workspace start just gets completely hung on volume creation step and refuses to move forward from there. Coder is deployed locally via Docker compose, and just to make sure reading through the docks as privileged mode turned on. Running the envbuilder locally (same internet connection and VM) with all the correct parameters works perfectly fine. And takes just a couple minutes without the cache, and like 30 seconds with cache. And Github CodeSpaces also works. So I just don't understand what is broken at this point. I do get the error:
Error: Unable to create volume: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.41/volumes/create": context deadline exceeded
on main.tf line 129, in resource "docker_volume" "workspaces":
Error: Unable to create volume: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.41/volumes/create": context deadline exceeded
on main.tf line 129, in resource "docker_volume" "workspaces":
2 replies