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?

More than 3 years have passed since last update.

gradle-docker-compose-pluginで、no such serviceが出るようになった

Posted at

gradle-docker-compose-pluginを使っていて、以下のようなメッセージが出てテストが起動しなくなってしまいました。

Container __test_dockercontainer  Creating
Container __test_dockercontainer  Created
Container __test_dockercontainer  Starting
Container __test_dockercontainer  Started
no such service: test_dockercontainer
Container __test_dockercontainer  Stopping
Container __test_dockercontainer  Stopped
Container __test_dockercontainer  Removing
Container __test_dockercontainer  Removed

調べたところ、いつのまにかDesktop Compose V2が有効になっていたのが原因でした。

Use Docker Compose V2 が有効になっていました。

スクリーンショット 2021-08-27 20.40.06.png

チェックをOFFにすることで解決しました。

Docker Compose V2への対応考えねばですね。

Compose V2 release candidate | Docker Documentation

「Docker Desktop 3.6」がリリース、Docker Compose V2はリリース候補が登場:CodeZine(コードジン)

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?