最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

docker - Issues with setting discourse up on localhost - Stack Overflow

programmeradmin2浏览0评论

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
  • If you used git as a tag because you are using bash from git, then it's not a correct use of the tag. Maybe git-bash and even that I think is off. – eftshift0 Commented Mar 4 at 11:24
Add a comment  | 

1 Answer 1

Reset to default 0

You 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

发布评论

评论列表(0)

  1. 暂无评论