binary-husky / binary-husky/gpt_academic

[Bug]: docker部署方案1部署到最后一步出现问题,容器前莫名其妙多了“-”

Open
#1,812 0 comments 0 reactions 0 assignees View on GitHub
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 | 有帮助的截图

![屏幕截图 2024-05-20 172049](https://github.com/binary-husky/gpt_academic/assets/81010341/a8fa9c7c-8e62-4cae-b4f9-cc24a7cc1187)

### 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.