Update /deployment/docker

Open Beginner friendly
#370 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
docker

Research direction

Start with the deployment/docker and getting-started/capacity-planning pages linked in the issue, then trace them to their source files in the documentation repository. Add accurate guidance for configuring /etc/docker/daemon.json, including the relevant ulimit settings and the fs.file-max warning. Done means both pages explain the Docker configuration clearly and the example is valid JSON.

Written by the indexing model from the issue text.

Description

https://questdb.com/docs/deployment/docker/
https://questdb.com/docs/getting-started/capacity-planning/

should contain some info on how to correctly set /etc/docker/daemon,json.

I got the the fs.file-max limit is too low [current=524288, recommended=1048576] message, although ulimits were correct on the host.

creating /et/docker/daemons.json

 {"default-ulimits": {
    "nofile": {
      "Name": "nofile",
      "Hard": 1048576,
      "Soft": 8096
    },
    "nproc": {
      "Name": "nproc", 
      "Hard": 500,
      "Soft": 500
    }
  }
}

and restarting docker fixed the problem by raising the ulimit in the container. nproc values and soft limit just fell from the sky ;-) your mileage my vary.

Dominant language
TypeScript
Stars
13
Forks
44
Avg merge
1d 9h
Merged PRs (30d)
26

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from questdb/documentation

All issues in questdb/documentation

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.