专治各种疑难杂症(又叫:我们所处的世界没有想象中那么纯粹)

我们所处的世界没有想象中那么纯粹

当你想刚刚了解了docker,想在本机windows下安装使用,却发现docker只支持linux系统

当你在github上搜索到一个的项目,想要clone下来研究,像平常一样输入git clone repo得到的却fatal: the remote end hung up unexpectedly

当你使用vscode编写代码,在vscode终端执行后,得到的确实乱码

是的,意外总是有的!

我们所能做的,只有将踩坑经验都记录下来

—— 卢训 《我们所处的世界没有想象中那么纯粹》


正文

记录总结遇到了的问题,也可以帮助其他人

Git篇

git clone项目失败

关键信息:

client_loop: send disconnect: Broken pipe
fatal: the remote end hung up unexpectedly

解决链接:https://blog.csdn.net/weixin_41569319/article/details/105321957

Docker篇

获取容器IP地址

进入容器后

# cat /etc/hosts
127.0.0.1	localhost
::1	localhost ip6-localhost ip6-loopback
fe00::0	ip6-localnet
ff00::0	ip6-mcastprefix
ff02::1	ip6-allnodes
ff02::2	ip6-allrouters
172.17.0.3	3a7272d2e294

参考链接:https://blog.csdn.net/sannerlittle/article/details/77063800

markdown篇

控制图片居中展示

<div align=center>  # 这里改成right就是居右展示

![这里写图片描述](http:...)
</div>

参考链接:https://blog.csdn.net/qq_35451572/article/details/79443467

还没有结束,持续更新

posted @ 2021-06-29 17:28  Zioyi  阅读(311)  评论(0编辑  收藏  举报