johnk
Explore posts from serversCCoder.com
•Created by johnk on 7/23/2024 in #help
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?4 replies