LoginSignup
0
0

More than 5 years have passed since last update.

docker-composeでdownしきれなかった場合の対処

Last updated at Posted at 2018-08-17

事象

Docker-composeを用いて頻繁にコンテナの上げ下げをしていると、たまに以下のようなエラーが出て、docker-composeが動作しないことがある。この場合、docker stopやdocker rmも動作しない。

ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).

Ver

  • OS・・・CentOS 6.9
  • docker・・・18.01.0-ce
  • docker-compose・・・1.16.0

対処法

  • systemctl stop dockerでdockerdを止める。
  • 大体dockerの変なプロセスが残っているのでこれをkillする。 (これは必須)

root 10792 30057 0 14:45 ? 00:00:00 docker-containerd-shim -namespace moby -workdir (省略) -address /var/run/docker/containerd/docker-containerd.sock -containerd-binary /usr/bin/docker-containerd -runtime-root /var/run/docker/runtime-runc

  • systemctl start dockerでdockerdを再起動

原因

今のところ不明。

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