Cannot get Fooocus started

I read a “How to Geek” article on generating AI art on your own machine.

https://www.howtogeek.com/want-powerful-local-ai-image-generation-on-windows-use-this-tool/

So, I downloaded Docker and downloaded Fooocus and followed the steps. But I am getting a set of error messages and I don’t know for sure what they mean, never mind what to do about them.

After I have Docker compose Fooocus, I get the following:

failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as ‘legacy’ nvidia-container-cli: initialization error: WSL environment detected but no adapters were found: unknown

My display adapter is actually Intel. I have Ubuntu for my WSL. Docker is v4.34.3. I downloaded whatever is the current build of Fooocus. Anything else you need to know I’ll gladly find it out for you, but I don’t know what I don’t know.

All help is appreciated.

WSL2 supports only nvidia GPU as far as I know. So Docker Desktop with the WSL2 backend does the same.

1 Like

Thank you. I’d hate to have to get a second machine to do this, but it looks like that’s what has to happen.

I was prepared to say you could also search for ways to use an Intel GPU, but it looks like Fooocus supports Nvidia only, so the problem is not that Docker Desktop for Windows supports nvidia GPUs only, but it is also a requirement for Fooocus.

Do you really want to use Fooocus, or is it just something you wanted to try to generate AI art? If your goal is not using Fooocus specifically, you could still search for Intel-based solutions, but it is true, most of the AI-related news I heard was based on nvidia.