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 1 year has passed since last update.

【Docker】Cannot remove Docker Compose application. Reason: Error invoking remote method 'compose-action'の対処法

Posted at

症状

コンテナを削除しようとしたところ、下記のエラーが発生しました。 翻訳してみると「Docker Compose アプリケーションを削除できません。理由: リモート メソッド 'compose-action' の呼び出しエラー:」となりました。

image.png

Cannot remove Docker Compose application. Reason: Error invoking remote method 'compose-action': Error: spawn C:\WINDOWS\system32\cmd.exe ENOENT

解決策

docker-compose downを実行することで、削除できるようになりました。
solution
docker-compose down
Stopping neareats-db-1 ... done
WARNING: Found orphan containers (app-front-1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Removing アプリ名-app-1      ... done
Removing アプリ名-frontend-1 ... done
Removing アプリ名-db-1       ... done
Removing network アプリ名_default

参考

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?