binary-husky / binary-husky/gpt_academic
[Bug]: docker部署方案1部署到最后一步出现问题,容器前莫名其妙多了“-”
- Dominant language
- Python
- Stars
- 71.4k
- Forks
- 8.3k
- PR merge metrics
- No merged PRs in 30d
Description
### Installation Method | 安装方法与平台
Docker-Compose(Linux)
### Version | 版本
Latest | 最新版
### OS | 操作系统
Windows
### Describe the bug | 简述
[root@bogon ~]# docker-compose up
[+] Running 0/0
⠋ Container -gpt_academic_nolocalllms-1 Creating 0.0s
Error response from daemon: Invalid container name (-gpt_academic_nolocalllms-1), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed
而yml文件里gpt_academic_nolocalllms-1前面是没有“-”的
### Screen Shot | 有帮助的截图

### Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect the Docker Compose deployment scheme 1 and the rendered container name or project-name values before running `docker-compose up`. Reproduce the invalid name beginning with a hyphen and trace how that prefix is generated. Done means the container name is valid and the deployment completes without the Docker daemon error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100