docker容器,性能高,不安全;VM虚拟机,安全性好,性能损耗大;Kata Container轻量级虚拟机的容器,即安全,性能也高。 开源容器项目Kata Containers,旨在将虚拟机(VM)的安全优势与容器的速度和可管理性统一起来。 Kata Container 是两个现有的开源项目合并: ...
分类:
其他好文 时间:
2019-06-05 11:21:18
阅读次数:
7302
容器的资源需求及限制: 需求:requests ##定义容器运行时至少需要资源 限制:limits ##定义容器运行时最多能分配的资源 requests:pod.spec.containers.resources.requests limits:pod.spec.containers.resourc ...
分类:
其他好文 时间:
2019-06-01 19:16:15
阅读次数:
450
1.停止docker 2.创建目录,拷贝数据 3.容器的配置文件路径: 修改 /var/lib/docker/containers/[hash_of_the_container]/config.v2.json /var/lib/docker/containers/[hash_of_the_conta ...
分类:
其他好文 时间:
2019-05-18 14:00:57
阅读次数:
197
Docker The Docker itself is a software container platform which allows us to create and manage containers. There are Docker Engine, Docker client. htt ...
分类:
其他好文 时间:
2019-05-17 13:51:34
阅读次数:
134
认识QT Designer提供的可选控件:以下八个大类 Layouts:布局相关 Spacers:留空 Buttons:可点击的按钮类 Item Views和 Item Widgets:高级控件,例如一些列表显式 Containers:高级控件,承载类控件,该类控件中可以存放其他控件 Input W ...
分类:
其他好文 时间:
2019-04-27 19:47:18
阅读次数:
250
1.1 什么是Docker slogan:Build Ship Run Any App Anywher。关键在于Ship,通过把程序和程序运行所需要的环境一起交付。 Linux容器技术: Docker是在Linuk容器(Linux Containers)技术的基础上发展起来的。LUX把单个操作系统的 ...
分类:
其他好文 时间:
2019-04-23 12:26:55
阅读次数:
142
k8s调度约束有两种;第一种,直接指定某台node主机;这种形势将直接跳过调度器。如下: 第二种;先给各node指定标签,然后在通过标签的形势来关联node,这种形势人就会调用到调度器。如下: yaozhuyi9的是;这个调度约束一定要在containers前面,笔者尝试过其它的地方。创建的时候会报 ...
分类:
其他好文 时间:
2019-04-17 12:25:09
阅读次数:
144
In previous post we have seen how to link two container together by using `--link`: In this poist, we are going to see how to create brige network, an ...
分类:
Web程序 时间:
2019-04-05 16:49:53
阅读次数:
220
前言:docker运行久了,会发现它的映射磁盘空间爆满,尤其是yum安装的docker的 解决方法: 1. 用脚本清理,一般yum安装的docker,其存储空间一般都在/var/lib/docker/containers下面,不同id对应不同容器,这个适用于docker容器运行时 下面是样本: #! ...
分类:
其他好文 时间:
2019-03-29 01:03:28
阅读次数:
180
Docker运行GUI原理 Docker目前大多应用在服务器领域,那么在Docker中可以运行GUI程序吗?怀着好奇心google了一番,还真有人写了一篇文章 "running gui applications inside docker containers" ,文章从原理剖析到实际操作内容非常详 ...