3
1

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.

dockerが立ち上がらないdaemonのレスポンスエラーで自分が行ったこと

Posted at

##内容

wordpressをdockerで立ち上げていたところ以下のエラーに遭遇

 % docker-compose exec wordpress bash
Error response from daemon: Container d53c880a092220967afedd75e0b251e2d6926f877ed34a8ea6328049cf6e407f is restarting, wait until the container is running

たまに以下にもなる

 % docker-compose exec wordpress bash
unable to upgrade to tcp, received 409

記事もないしさっぱり...

##やったこと

未使用イメージ/コンテナ/キャッシュ削除を行うがうまく行かない

docker system prune

キャッシュでもダメそう

$ docker-compose build --no-cache

一回全部消すしかないか...と思い、
docker-composeのコンテナ/イメージ/ボリューム/ネットワークを一括完全消去を実施でうまく行きました。

docker-compose down --rmi all --volumes --remove-orphans

参考
https://qiita.com/suin/items/19d65e191b96a0079417

3
1
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
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?