2020年10月9日

摘要: 安装脚本 cd $GOPATH/src/github.com/kata-containers/tests/.ci ./install_kata.sh root@ubuntu:/opt/gopath/src/github.com/kata-containers/proxy# docker ps -a 阅读全文
posted @ 2020-10-09 20:21 tycoon3 阅读(463) 评论(0) 推荐(0)
摘要: root@ubuntu:/usr/share/kata-containers/binary# whereis kata-runtime kata-runtime: /usr/local/bin/kata-runtime root@ubuntu:/usr/share/kata-containers/b 阅读全文
posted @ 2020-10-09 19:29 tycoon3 阅读(145) 评论(0) 推荐(0)
摘要: Kata Containers 是什么 基于轻量级虚拟机的容器,不同容器跑在一个个不同的虚拟机(kernel)上,比起传统容器提供了更好的隔离性和安全性。同时继承了容器快速启动和快速部署等优点。 轻量级虚拟机,就是号称我比你快安全性还比你更屌的那些,此类的 paper 比比皆是,比如 SOSP'17 阅读全文
posted @ 2020-10-09 17:45 tycoon3 阅读(610) 评论(0) 推荐(0)
摘要: root@ubuntu:~/rootfs/my# curl --unix-socket /tmp/firecracker.socket -i \ > > -X PUT "http://localhost/actions" \ > > -H "accept: application/json" \ > 阅读全文
posted @ 2020-10-09 16:03 tycoon3 阅读(248) 评论(0) 推荐(0)
摘要: Creating Custom rootfs and kernel Images Creating a kernel Image Currently, Firecracker supports only uncompressed, ELF kernel images. You can build a 阅读全文
posted @ 2020-10-09 15:52 tycoon3 阅读(1144) 评论(0) 推荐(0)
摘要: Spawning applications in the cloud has been made super easy using container frameworks such as docker. For instance running a simple command like the 阅读全文
posted @ 2020-10-09 15:25 tycoon3 阅读(258) 评论(0) 推荐(0)
摘要: 什么是CrosVM CrosVM是Chrome操作系统中,用于创建虚拟机的应用。是一个Rust编写的轻量级的虚拟机。亚马逊的Firecracker从crosvm开始。借助于CrosVM 用户可以很容易的在ChromeOS中运行Linux、Android以及Windows应用程序。 CrosVM 的源 阅读全文
posted @ 2020-10-09 15:24 tycoon3 阅读(3315) 评论(0) 推荐(0)
摘要: First, let’s bake a kernel! The firecracker team was nice enough to give us a .config to use as the basis of our kernel and its a great place to start 阅读全文
posted @ 2020-10-09 15:15 tycoon3 阅读(345) 评论(0) 推荐(0)
摘要: Error writing to output file - write (28: No space left on device) [IP: 91.189.88.142 80] Fetched 18.4 MB in 18s (1028 kB/s) Reading package lists... 阅读全文
posted @ 2020-10-09 15:08 tycoon3 阅读(391) 评论(0) 推荐(0)
摘要: root@ubuntu:~# iptables -t nat -A POSTROUTING -s 10.10.104.83/32 -o enahisic2i0 -j MASQUERADE root@ubuntu:~# iptables -nvL -t nat Chain PREROUTING (po 阅读全文
posted @ 2020-10-09 14:57 tycoon3 阅读(134) 评论(0) 推荐(0)
摘要: root@fadfdd4af58a:~# cat /etc/resolv.conf options timeout:2 attempts:5 ; generated by /usr/sbin/dhclient-script search us-east-2.compute.internal us-w 阅读全文
posted @ 2020-10-09 14:31 tycoon3 阅读(450) 评论(0) 推荐(0)
摘要: https://aws.amazon.com/cn/blogs/china/deep-analysis-aws-firecracker-principle-virtualization-container-runtime-technology/ 摘要 AWS Firecracker是一款由 AWS开 阅读全文
posted @ 2020-10-09 12:08 tycoon3 阅读(1773) 评论(0) 推荐(1)
摘要: 安装nc-vsock https://github.com/stefanha/nc-vsock root@ubuntu:~# git clone https://github.com/stefanha/nc-vsock.git git clone https://github.com/stefanh 阅读全文
posted @ 2020-10-09 12:03 tycoon3 阅读(923) 评论(0) 推荐(0)
摘要: docker 上 (neutron-dhcp-agent)[neutron@controller1 /]$ ip netns list qdhcp-dbda2a7c-f987-454e-8d33-6115b2f562c1 (id: 221) qdhcp-4af45e0d-78ad-4d85-a07d 阅读全文
posted @ 2020-10-09 11:02 tycoon3 阅读(1346) 评论(0) 推荐(0)
摘要: 1、 ./firecracker --api-sock /tmp/firecracker.socket root@ubuntu:/home/ubuntu# ps -elf | grep firecracker 0 S root 42464 41287 0 80 0 - 878 futex_ 10:5 阅读全文
posted @ 2020-10-09 10:56 tycoon3 阅读(197) 评论(0) 推荐(0)
摘要: kata-containers 编译安装 kata-runtime 编译安装 123456789101112 # download source code$ go get -d -u github.com/kata-containers/runtime$ cd ${GOPATH}/src/githu 阅读全文
posted @ 2020-10-09 10:44 tycoon3 阅读(850) 评论(0) 推荐(0)
摘要: touch /etc/docker/daemon.json dockerd --config-file /etc/docker/daemon.jsoncat /etc/docker/daemon.json root@ubuntu:~/kata# cat /etc/docker/daemon.json 阅读全文
posted @ 2020-10-09 10:24 tycoon3 阅读(558) 评论(0) 推荐(0)

导航