内容简介:就是一到一个docker-compose文件里面要运行的容器变多,或者因为机器性能差导致没有在60s之内把docker-compose文件中的容器完全运行起来都会导致下面这个错误
就是一到一个docker-compose文件里面要运行的容器变多,或者因为机器性能差导致没有在60s之内把docker-compose文件中的容器完全运行起来都会导致下面这个错误
UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
默认这个时间设置成60s
解决
如果你想临时解决这个问题你可以直接在终端执行
export DOCKER_CLIENT_TIMEOUT=500 export COMPOSE_HTTP_TIMEOUT=500
如果你想永久解决这个问题你可以在你的profile文件中添加上面两句
vim /etc/profile
之后重新运行docker-compose up -d 就可以了
欢迎关注Bboysoul的博客www.bboysoul.com
Have Fun
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Writing Windows VxDs and Device Drivers, Second Edition
Karen Hazzah / CMP / 1996-01-12 / USD 54.95
Software developer and author Karen Hazzah expands her original treatise on device drivers in the second edition of "Writing Windows VxDs and Device Drivers." The book and companion disk include the a......一起来看看 《Writing Windows VxDs and Device Drivers, Second Edition》 这本书的介绍吧!