taosdata / taosdata/TDengine

TDengine tdengine/tdengine:3.3.0.3 docker issue

Open
#25,937 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

Open the contributing guide

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.