LoginSignup
4
0

More than 3 years have passed since last update.

docker内でliveshareする方法

Posted at

前置き

Docker内で開発しつつ、VSCodeでliveShareしたい人向けの記事。
linuxでliveShareしたい人にも役に立つかもしれない。

単純にremote-containerで、liveshareをインストールしても起動できない!という問題を解決したい。

解決方法

Microsoftから解決方法が提示されていました。
外部サイト:Linux installation details

要約すると、linuxだと必要なライブラリがないからインストールしてね!ってこと。
以下のコマンドで、スクリプトがディストリビューションごとの必要なライブラリをインストールしてくれる。

wget -O ~/vsls-reqs https://aka.ms/vsls-linux-prereq-script && chmod +x ~/vsls-reqs && ~/vsls-reqs

自分の環境ではdocker上のUbuntu,Debian,RHL,CentOSは試してみて正常に動作しました。
ほかのディストリビューションの情報も上記サイトに記載があるので要確認です。

これで快適なリモートワークができるようになりますね!

4
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
4
0