oceanbase / oceanbase/docker-images
[Bug]:/var/lib/oceanbase/run/daemon.sock: bind: operation not supported
Open
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 11
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
第一次:
mkdir -p seekdb
docker run -d -p 2881:2881 -p 2886:2886 -v $PWD/seekdb:/var/lib/oceanbase --name seekdb oceanbase/seekdb
删掉容器,退出docker之后,再次运行:
docker run -d -p 2881:2881 -p 2886:2886 -v $PWD/seekdb:/var/lib/oceanbase --name seekdb oceanbase/seekdb
报错:
Configuration loaded from: /etc/oceanbase/seekdb.cnf
SeekDB started successfully, starting obshell agent...
File '/var/lib/oceanbase/etc/observer.config.bin' found on attempt #1.
[ERROR] Code: Agent.Daemon.StartFailed, Message: Daemon start failed: listen unix /var/lib/oceanbase/run/daemon.sock: bind: operation not supported```
### Environment
Apple M2
### Fast reproduce steps
删掉之后,无法启动
### Expected behavior
_No response_
### Actual behavior
_No response_
### Additional context
_No response_
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
Reproduce the issue on an Apple M2 with the provided docker run command, removing and recreating the container while keeping the mounted seekdb directory. Start by checking the container startup logs and the persisted /var/lib/oceanbase/run/daemon.sock path; done means the recreated container starts successfully without the daemon.sock bind error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100