摘要: 步骤: cd c:windows/system32 bcdedit /set {default} osdevice boot bcdedit /set {default} device boot bcdedit /set {default} detecthal 1 阅读全文
posted @ 2019-03-20 17:14 lishidefengchen 阅读(1151) 评论(0) 推荐(0)
摘要: By default docker will put all the data including images under /var/lib/docker(At least on Debian). This could let to problems with space. It's the ca 阅读全文
posted @ 2019-03-20 14:34 lishidefengchen 阅读(241) 评论(0) 推荐(0)
摘要: ——假设一个image叫ubuntu—— 在本机执行sudo docker save -o ubuntu.tar ubuntu 由此得到了 ubuntu.tar 文件,将其拷贝到远程机器,执行 sudo docker load < ubuntu.tar 阅读全文
posted @ 2019-03-20 14:32 lishidefengchen 阅读(5436) 评论(0) 推荐(0)
摘要: #原因# Docker无法删除images,由于存在依赖container #步骤# docker rm b23dd9de7382 (删除依赖的container d63a819c3eaf) 可能有多个依赖,全部删除 阅读全文
posted @ 2019-03-20 14:00 lishidefengchen 阅读(526) 评论(0) 推荐(0)
摘要: yum默认链接的还是国外的镜像,速度相对不理想,配置成国内的镜像会快很多,这里以阿里镜像为例进行配置: CentOS系统更换软件安装源 #base源#第一步:备份你的原镜像文件,以免出错后可以恢复。mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos 阅读全文
posted @ 2019-03-20 13:28 lishidefengchen 阅读(7793) 评论(0) 推荐(1)
摘要: #修改配置# #重启服务# service network restart #参考# https://blog.csdn.net/qinguanglong6606/article/details/85330192 ——————————补充—————————— 今天网又连不上外网了,搞了一天,搞死人了 阅读全文
posted @ 2019-03-20 13:20 lishidefengchen 阅读(1718) 评论(0) 推荐(0)
摘要: #是啥# 轻量级的虚拟机,占用资源远小于一般意义上的虚拟机(例如:vmware,hyper-v) #特点# 启动快,体积小,开销少 #本质# Linux容器的一种封装 参考: 阮一峰博客 http://www.ruanyifeng.com/blog/2018/02/docker-tutorial.h 阅读全文
posted @ 2019-03-20 09:55 lishidefengchen 阅读(139) 评论(0) 推荐(0)