Script on Windows

Script on Windows  

  By: luanmath on Aug. 26, 2024, 11:01 p.m.

Hi there!

I am facing a problem with the script, I am using windows to run, and it gives me this error:

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process

Unfortunately, I don't have any access to a GPU that uses Linux. What should I do in this case?

Re: Script on Windows  

  By: Jaymos on Aug. 26, 2024, 11:40 p.m.

Hi,

I had the same issue (but on Linux). Two options worked for me. Either 1) Running the script as root user i.e using sudo on Linux or 2) Adding the current user to the docker group so I dont have to run as root. Maybe try this.

 Last edited by: Jaymos on Aug. 26, 2024, 11:41 p.m., edited 2 times in total.

Re: Script on Windows  

  By: ezequieldlrosa on Aug. 27, 2024, 9:57 a.m.

Hello, Some inputs from GC support about working on Windows:

Not entirely sure what their problem is but we recommend setting up Docker Desktop with the WSL2 backend on Windows: https://docs.docker.com/desktop/wsl/

Docker Desktop WSL 2 backend on Windows Turn on the Docker WSL 2 backend and get to work using best practices, GPU support, and more in this thorough guide. docs.docker.com

Then, you get a linux VM and everything is reasonably sane. Half my team use this set up.

Or, an alternative is to use any cloud VM. Plenty of on demand things that support Docker out of the box like GitHub Codespaces.