[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
- 分支
- 366
- 平均合併
- 1 天 20 小時
- 30 天內合併 PR
- 1
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
linuxserver/docker-code-server 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 88/100
查看 linuxserver/docker-code-server 的全部 Issue
相似的 Issue
-
agentic-workflows
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
microsoft/ebpf-for-windows#5604 ·
維護者通常 3 天內回覆
-
Theme: Bots Type: Bug
難度 1/5 1 小時以內 新手友好度 84/100
internetarchive/openlibrary#13743 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 68/100
blinklabs-io/actions#138 ·
維護者通常 1 天內回覆
-
.Needs Triage .Run Repro Bot Priority:P2 Type:Bug
難度 2/5 1-3 小時 新手友好度 78/100
metabase/metabase#83153 · 2 則留言 ·
維護者通常 1 天內回覆