Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What problems will be encountered in building Docker environment

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Xiaobian to share with you what problems Docker environment will encounter, I hope you have some gains after reading this article, let's discuss it together!

pull/search img failed, real network (proxy, etc) Reason:

I had the same problem this morning and the following fixed it for me:

$ docker-machine restart default # Restart the environment$ eval $(docker-machine env default) # Refresh your environment settings

It appears that this is due to the Docker virtual machine getting itself into a strange state.

ref: http://stackoverflow.com/questions/31990757/network-timed-out-while-trying-to-connect-to-https-index-docker-io

Push your img to DockerHub

http://geek.csdn.net/news/detail/35121

Stop all containers, delete all containers, delete all mirrors

reference: https://segmentfault.com/a/1190000000482229

docker kill $(docker ps -q) ; docker rm $(docker ps -a -q) ; docker rmi $(docker images -q -a) After reading this article, I believe you have a certain understanding of "what problems Docker environment will encounter." If you want to know more about related knowledge, please pay attention to the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report