[BUG] vscode-server does not start if IPv6 is not available
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 65/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker
- 领域
- devops
调研方向
首先,在禁用 IPv6 的主机上使用提供的 Docker 服务配置重现该故障,然后跟踪尝试绑定到 :::8443 的 code-server 容器启动路径。最新的 code-server 镜像能够在不使用 IPv6 的情况下成功启动,同时保持预期的访问行为,即表示完成;使用容器日志和相同的重现步骤进行验证。
由索引模型根据 Issue 内容生成。
描述
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
The container fails to start on a host where IPv6 has been disabled.
Expected Behavior
The container should start.
Steps To Reproduce
- Disable IPv6 on the Docker host
- Start the container with the latest code-server image
- The container fails to start due to being unable to bind to ":::8443"
Environment
- OS: Debian 11
- How docker service was installed: Official Debian package
CPU architecture
x86-64
Docker creation
services:
code-server:
image: linuxserver/code-server:4.127.0
container_name: code-server
hostname: code-server
restart: unless-stopped
volumes:
- code-server:/config
- code-server-data:/data
environment:
TZ: Europe/Berlin
HASHED_PASSWORD: '<redacted>'
DEFAULT_WORKSPACE: /data
labels:
traefik.enable: true
traefik.http.routers.code-server.rule: "Host(`code-server.example.com`)"
Container logs
[2026-07-04T15:39:49.962Z] info code-server 4.127.0 1e6ed874e3138141a5636f6e0dbe8570aa6cd001
[2026-07-04T15:39:49.963Z] info Using user-data-dir /config/data
[2026-07-04T15:39:49.977Z] error listen EAFNOSUPPORT: address family not supported :::8443
- 主要语言
- Dockerfile
- 星标
- 2k
- 派生
- 368
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
kind/bug needs-triage
难度 1/5 1 小时以内 新手友好度 72/100
matrixorigin/matrixone#29223 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
copse-dev/agent-pane#2953 ·
-
bug ci-failure high priority
难度 2/5 1-3 小时 新手友好度 74/100
vllm-project/vllm-omni#7972 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 90/100
simonw/sqlite-utils#872 ·
-
bug good first issue
难度 1/5 1 小时以内 新手友好度 88/100
amponce/archive-movie-browser#166 ·