TDengine tdengine/tdengine:3.3.0.3 docker issue
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 25.1k
- Forks
- 5k
- Avg merge
- 4d 59m
- Merged PRs (30d)
- 7
Description
I use Docker with tdengine with custom user
tdengine:
image: tdengine/tdengine:3.3.0.3
container_name: tdengine
hostname: tdengine
user: 1002:1002
volumes:
- /var/www/code/taos/log:/var/log/taos
- /var/www/code/taos/data:/var/lib/taos
ports:
- "6030:6030"
- "6041:6041"
restart: always
Version 3.2.0.6 works fine.
After i upgrade to Version >= 3.3.0.0
i got the Error message in Docker Log:
cannot create /etc/hosts: Permission denied
cannot create /etc/hosts: Permission denied
cannot create /etc/hosts: Permission denied
Contributor guide
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.
Research direction
Start by reproducing the supplied Docker configuration with tdengine/tdengine:3.2.0.6 and 3.3.0.3, using user 1002:1002 and the shown volume mounts. Inspect the container startup logs and compare the behavior across versions; done means the newer image starts successfully with the custom user, or the incompatibility is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- databases, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100