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のcontainerがどうあがいても消えない時の対処法(kill、stop、down、-fコマンド無効)

Posted at

表題の通りです。containerがどうやっても消えず、以下のエラーが表示されました。

Error invoking remote method 'docker-remove-container': Error: (HTTP code 500) server error - Could not kill running container [container ID], cannot remove - tried to kill container, but did not receive an exit event

以下のコマンドを実行すると問題なくcontainerを消すことができました。

$ killall Docker && open /Applications/Docker.app

このopen /Applications/Docker.appはアプリを再度開くだけなので別にいらないんですが、もし実行できない場合Docker.appがあるフォルダを確認してください。

よくあるのはアプリがダウンロードフォルダにあるとか...(その場合は/Downloads/Docker.app)

お役に立ったなら幸いです😃

参考サイト

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?