0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

vscodeをv1.86にするとcent7コンテナでdevcontainerサーバーの起動に失敗する

Posted at
js js

vscodeをv1.86にバージョンアップするとcentos:7コンテナでdevcontainerサーバーの起動に失敗する

Warning: Missing GLIBCXX >= 3.4.25! from /usr/lib64/libstdc++.so.6.0.19
Warning: Missing GLIBC >= 2.28! from /usr/lib64/libc-2.17.so

 
次のvscodeの有志リポジトリ掲載のパッチを当てて解決した。とても感謝。
npurson/vscode-server-toolchain-workaround: Workaround for the raised toolchain requirements of VS Code Server 1.86+
 vscode server can not launch · Issue #204036 · microsoft/vscode

sh
docker exec -it app bash
 
cd && \
wget https://github.com/npurson/vscode-server-toolchain-workaround/archive/refs/heads/main.zip && \
unzip main.zip && \
sh vscode-server-toolchain-workaround-main/run.sh && \
rm -f main.zip && \
rm -rf vscode-server-toolchain-workaround-main

補足

直後に気付いたが、vscodeに「Visual Studio CodeでサポートされていないOSバージョンに接続しています。」とのワーニングが出ていた。

vscodeかdevcontainerのバージョンアップによってvscodeserverサーバーの動作要件がアップデートし、一定のOSバージョニングを判定してデプリケートをワーニング通知しているようだ。

image.png

上記パッチによって動作はするが、要件を満たさないコンテナはこのワーニングがフラグされ続けるようだ。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?