Docs: running Pithagoras with Docker on a Mac
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- docker, docker-compose, macos, node.js, typescript
- Domain
- devops, documentation
Research direction
Read the README quick start and docs/guide/deploying.md, then check both Compose files to confirm the network_mode: host behavior described in the issue. Add the requested macOS guidance covering Linux container engines, Apple Silicon image support and emulation, Docker Desktop host networking, and the Node version and socket path limit. Done when both documentation locations explain these setup constraints accurately.
Written by the indexing model from the issue text.
Description
From #1: the README and docs/guide/deploying.md never say that Pithagoras needs a Docker engine that runs Linux containers, and they never mention macOS. The reporter used the macOS-native container engine (darwin-containers / rund). It can only run macOS images, so the build failed in a way that can't be fixed on that engine.
What we want
An "On a Mac" section in deploying.md, and a line in the README's quick start, saying:
- Use a Docker that runs Linux in a VM: Docker Desktop, OrbStack or Colima, with
docker context usepointing at it. The macOS-native container engine can't run Pithagoras. docker compose up -d --buildbuilds a native image on Apple Silicon. The prebuilt image islinux/amd64only until #305; with it, setDOCKER_DEFAULT_PLATFORM=linux/amd64and it runs under emulation.- Both compose files use
network_mode: host. Docker Desktop honours that only when host networking is turned on in its settings; otherwise port 4100 isn't reachable from the Mac. Document that switch, or give aports:variant for a Mac. - Running from source with Node 22.19 or newer works too. One known limit on a Mac is in #43: the server's socket path has to stay under macOS's shorter limit, so a long data-folder path can stop it from starting.
- Dominant language
- TypeScript
- Stars
- 297
- Forks
- 81
- Avg merge
- 8h 47m
- Merged PRs (30d)
- 167
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from thecodacus/pithagoras
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
thecodacus/pithagoras#364 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
thecodacus/pithagoras#43 · 2 comments ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 6/100
thecodacus/pithagoras#361 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 32/100
thecodacus/pithagoras#347 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
thecodacus/pithagoras#346 ·
Maintainers usually reply within 1 day
All issues in thecodacus/pithagoras
Similar issues
-
Add: Shop On TV SDOpencheck:passed streams:add
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
bug implicit-state
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
book-layout.spec fails when the similar-books rail holds other projects' booksPossibly taken @praetorianer777 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
praetorianer777/GoTome#373 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Tencent/tdesign-react#4465 · 1 comment ·
Maintainers usually reply within 1 day
-
area:cards enhancement ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
fil-donadoni/tolaria#8883 ·
Maintainers usually reply within 1 day