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でcompose.yamlの"Run Service"を無効にする

Posted at

compose.yamlに勝手に表示されるアイツを消したい

VSCodeを1.96.4にアップデートしたらcompose.yamlに"Run All Service"とか"Run Service"が勝手に表示されるようになってしまいました。

スクリーンショット 2025-01-30 13.25.56.png
誤ってクリックすると勝手にコンテナが起動します。
非常に邪魔。邪魔です。

compose.yamlの名前を変える

NG

  • docker-compose.yaml
  • compose.yml
    ではだめでした。

OK

  • compose_.yaml
    にすると"Run All Service"は消えました。

が!そうすると

docker compose up
no configuration file provided: not found

compose.yamlを自動認識してくれない…。
-f でいちいち指定する必要があります。

Docker拡張機能を無効にする

Microsoft謹製のDocker拡張機能を無効にすればOKです。

スクリーンショット 2025-01-30 13.53.41.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?