Coder docker container works on N4 Google Compute instance but no longer C4
Hello, I have been using coder a ton lately and it's been amazing! I have been using the C4 instance for a few weeks, then recently (within the last few days) used N4 instead. In that time, it appears coder's docker template has become incompatible.
To reproduce:
1. Create c4-standard-8 machine
2. Run the following commands
2.a
sudo apt install docker.io
2.b sudo usermod -aG docker ${USER}
2.c sudo chmod 666 /var/run/docker.sock
2.d curl -L https://coder.com/install.sh | sh
2.e coder server
3. Open coder, login, and create a workspace using the docker template, you will notice it hangs at docker_image.main: Still creating.
forever.
if you find the dockerfile and manually run it with docker build . -t test:1
you will see it's an endless loop of this
None of this happens for N4 or others. How do I fix this?3 Replies
<#1265163443820826636>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
This lokks like the C4 VMs are having struggle reaching Ubuntu repos. Its a Google cloud networking issue and not linked with Coder.
Ohhh that makes sense. Bad timing because in that time I stopped using it and started using N4 😠thank you though! I checked for ongoing issues in the dashboard but nothing relevant.