I’m trying to set up Discourse locally using Docker on Windows, but I’m running into errors. Here’s what I’ve done so far:
Installed Docker Desktop and ensured it’s running.
Cloned the Discourse Docker repository:
bash
git clone .git discourse cd discourse
Tried to bootstrap Discourse:
bash
./launcher bootstrap app
But I get this error:
./launcher: line 118: ifconfig: command not found ./launcher: line 162: [: /c/Program: binary operator expected Cannot connect to the Docker daemon - verify it is running and you have access
I’ve tried replacing ifconfig with ipconfig in the launcher script, but I’m still stuck. Docker Desktop is running, and
docker ps
works fine. Any help would be greatly appreciated!
Details:
Windows 10/11
Docker Desktop 4.x
Git Bash
Thanks in advance!
I’m trying to set up Discourse locally using Docker on Windows, but I’m running into errors. Here’s what I’ve done so far:
Installed Docker Desktop and ensured it’s running.
Cloned the Discourse Docker repository:
bash
git clone https://github/discourse/discourse_docker.git discourse cd discourse
Tried to bootstrap Discourse:
bash
./launcher bootstrap app
But I get this error:
./launcher: line 118: ifconfig: command not found ./launcher: line 162: [: /c/Program: binary operator expected Cannot connect to the Docker daemon - verify it is running and you have access
I’ve tried replacing ifconfig with ipconfig in the launcher script, but I’m still stuck. Docker Desktop is running, and
docker ps
works fine. Any help would be greatly appreciated!
Details:
Windows 10/11
Docker Desktop 4.x
Git Bash
Thanks in advance!
Share Improve this question edited Mar 4 at 12:06 JohnnyCoder asked Mar 4 at 10:54 JohnnyCoderJohnnyCoder 1 1 |1 Answer
Reset to default 0You don't need Docker Desktop nor cloning the Docker image. Instead, you should follow the official guides: https://meta.discourse./t/install-discourse-on-windows-for-development/75149/1
https://meta.discourse./t/install-discourse-for-development-using-docker/102009/1
git
as a tag because you are using bash from git, then it's not a correct use of the tag. Maybegit-bash
and even that I think is off. – eftshift0 Commented Mar 4 at 11:24