[BUG] vscode-server does not start if IPv6 is not available

クローズ
#218 コメント 9 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker
領域
devops

調査の方向性

まず、IPv6 を無効にしたホストで、提供された Docker サービス設定を使って失敗を再現し、次に :::8443 への bind を試みる 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
  1. Disable IPv6 on the Docker host
  2. Start the container with the latest code-server image
  3. 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
平均マージ
1日 20時間
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxserver/docker-code-server のほかの issue

linuxserver/docker-code-server の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。