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ちゃんにError response from daemon: driver failed programming external connectivity on endpointって怒られた💦

Posted at

Dockerちゃんと遊んでいたとき

Error response from daemon: driver failed programming external connectivity on endpoint 〜 Bind for 0.0.0.0:80 failed: port is already allocated

って怒られたwww

原因

他のサービスでこのポートを使っているから

やってみたこと

停止中のコンテナを一括削除

$ docker image prune

まだ削除できない・・・。
docker psコマンドで一覧を表示して

$ docker ps 

ポートが被ってるコンテナIDを探して

$ docker rm --force コンテナID

で削除できた!

おわりに

Dockerちゃんと仲直りできたー☺️

参考記事

Docker一括削除コマンドまとめ
Dockerでコンテナの停止・削除ができなくなった時の対処法

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?