博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
解决docker(ERROR: No such container: )错误
阅读量:6968 次
发布时间:2019-06-27

本文共 1120 字,大约阅读时间需要 3 分钟。

hot3.png

简介

今天在用docker搭建elk的时候因为机器性能不好导致了docker-compose创建容器超时然后

ERROR: for kibana  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)ERROR: for logstash  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)ERROR: for kibana  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)ERROR: for logstash  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)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).

之后我使用docker-compose down就发生了下面的事情

ERROR: No such container: 42008d315b9b0eaea6fe2dc1448da76df2fd3f9e8c085427b21bb31be7b52873

操作

这个可能是因为你在创建容器的时候还没有创建完成就中断了操作造成的,你所需要做的就是删除/var/lib/docker/containers下的42008d315b9b0eaea6fe2dc1448da76df2fd3f9e8c085427b21bb31be7b52873文件然后再次执行docker-compose downdocker-compose up -d就好了

欢迎关注Bboysoul的博客 Have Fun

转载于:https://my.oschina.net/u/3778921/blog/3055671

你可能感兴趣的文章
android 中使用回调方法(适用于自定义view传值到activity、adapter传值到activity)...
查看>>
JBPM使用方法、过程记录
查看>>
java实现 阿拉伯数字转换为汉字数字 算法
查看>>
【每天进步一点】毒药和老鼠的研究
查看>>
续【C# 以管理员方式启动Winform,进而使用管理员控制Windows Service】
查看>>
我的语录
查看>>
MapReduce原理<转>
查看>>
调整屏幕显示亮度
查看>>
Welcome to OWASP CHINA — OWASP-CHINA
查看>>
MongoDB副本集配置系列九:MongoDB 常见问题
查看>>
Thrift 安装及使用
查看>>
GDB和WinDbg中调用函数
查看>>
Linux C single linked for any data type
查看>>
hdparm测试硬盘性能
查看>>
atitit.微信支付的教程文档 attilax总结
查看>>
Android开发(二十八)——基础功能函数
查看>>
Android ListView中带有时间数据的排序
查看>>
SSL/TLS协议运行机制的概述
查看>>
【杂文】特此记录开通博客的第一天
查看>>
机器学习中的数学(1)-回归(regression)、梯度下降(gradient descent)
查看>>