AbdBarho / stable-diffusion-webui-docker

Easy Docker setup for Stable Diffusion with user-friendly UI
Other
6.68k stars 1.12k forks source link

'docker' is not recognized as the name of a cmdlet, function, script file, or operable program #665

Closed WaifuPlapper closed 4 months ago

WaifuPlapper commented 7 months ago

Has this issue been opened before?

Describe the bug

I open the terminal in the stable-diffusion-webui-docker-master folder. I paste docker compose --profile download up --build in the terminal. The terminal tells me this:

docker : The term 'docker' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ docker compose --profile download up --build
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (docker:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Hardware / Software

Steps to Reproduce

  1. Open the terminal in the stable-diffusion-webui-docker-master folder.
  2. Paste docker compose --profile download up --build in the terminal.
  3. See error (on my PC).

Additional context I downloaded and extracted the zip because I don't know how to clone a repo and I don't know what a git is.

WindowsTerminal_mTlTURFylu

schott12521 commented 7 months ago

Did you follow the setup guide? Most importantly, you don't have docker installed, and your Powershell is telling you that when you try to paste the command.

Docker Version: I don't know I can't install it Docker compose version: I don't know I can't install it

Wdym you can't install it? Did you try Docker's install guide?

I downloaded and extracted the zip because I don't know how to clone a repo and I don't know what a git is.

Its fine if you want to do this, git is one of the most ubiquitous tools in Software Engineering, I'd highly suggest becoming familiar with it if you're interested in understanding what is going on.

WaifuPlapper commented 7 months ago

Thanks for your help, it works perfectly now!

I'll try to get into git.

AbdBarho commented 4 months ago

@schott12521 thanks for your support on this!