随笔分类 -  kata

1 2 3 4 下一页

gvisor
摘要:gVisor gVisor is a user-space kernel, written in Go, that implements a substantial portion of the Linux system surface. gVisor uses linux OS, but the 阅读全文

posted @ 2020-12-24 19:26 tycoon3 阅读(126) 评论(0) 推荐(0) 编辑

kata qemu
摘要:https://github.com/kata-containers/kata-containers/tree/2.0-dev/tools/packaging/qemu/patches/5.1.x root@ubuntu:/home/ubuntu/qemu_learn# bash kata_9p.s 阅读全文

posted @ 2020-12-09 17:58 tycoon3 阅读(625) 评论(0) 推荐(0) 编辑

kata rootfs
摘要:https://bevisy.github.io/kata-containers-Compile-And-Installed/ root@PORT:~# ls /sbin/init/sbin/initroot@PORT:~# ps -elf | grep init4 S root 1 0 0 80 阅读全文

posted @ 2020-12-09 09:06 tycoon3 阅读(272) 评论(0) 推荐(0) 编辑

defaultKataGuestSharedDir
摘要:virtcontainers/kata_agent.go:67: defaultKataGuestSharedDir = "/run/kata-containers/shared/containers/" 阅读全文

posted @ 2020-12-08 20:36 tycoon3 阅读(68) 评论(0) 推荐(0) 编辑

cgo setns + libcontainer nsexec
摘要:https://www.jianshu.com/p/c48e6cd84ff5 nsenter/nsenter.go 1、怎么获取mydocker_pid 2、怎么获取mydocker_cmd package nsenter /* #include <errno.h> #include <sched. 阅读全文

posted @ 2020-12-04 17:18 tycoon3 阅读(124) 评论(0) 推荐(0) 编辑

kata agent + runc 进程
摘要:https://segmentfault.com/a/1190000017576314 root@ubuntu:/# ls /run/libcontainer/ -al total 0 drwx 3 root root 60 Dec 4 06:37 . drwxr-xr-x 11 root root 阅读全文

posted @ 2020-12-04 15:56 tycoon3 阅读(357) 评论(0) 推荐(0) 编辑

kata /run
摘要:kata vm root@ubuntu:/opt# mount | grep run tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,r 阅读全文

posted @ 2020-12-04 11:51 tycoon3 阅读(76) 评论(0) 推荐(0) 编辑

mount blockdevices in the guest VM instead of passing them through as volume
摘要:https://github.com/kata-containers/runtime/issues/571 https://github.com/gotoz/runq#storage docker run -it --runtime=kata-runtime --device data1:/data 阅读全文

posted @ 2020-12-04 11:43 tycoon3 阅读(179) 评论(0) 推荐(0) 编辑

bindMountContainerRootfs(
摘要:func (k *kataAgent) createContainer(sandbox *Sandbox, c *Container) (p *Process, err error) { span, _ := k.trace("createContainer") defer span.Finish( 阅读全文

posted @ 2020-12-04 09:03 tycoon3 阅读(113) 评论(0) 推荐(0) 编辑

kata container mount and umount
摘要:func setupStorages(sandbox *Sandbox) []*grpc.Storage { storages := []*grpc.Storage{} caps := sandbox.hypervisor.capabilities() // append 9p shared vol 阅读全文

posted @ 2020-12-03 11:39 tycoon3 阅读(228) 评论(0) 推荐(0) 编辑

kata namespace
摘要:// setupPersistentNs creates persistent namespace without switchin to it. // Note, pid namespaces cannot be persisted. func setupPersistentNs(namespac 阅读全文

posted @ 2020-12-02 15:09 tycoon3 阅读(133) 评论(0) 推荐(0) 编辑

Could not run process: container_linux.go:349: starting container process caused "process_linux.go:449:
摘要:docker: Error response from daemon: OCI runtime create failed: rpc error: code = Internal desc = Could not run process: container_linux.go:349: starti 阅读全文

posted @ 2020-12-02 14:03 tycoon3 阅读(2006) 评论(0) 推荐(0) 编辑

kata agent install
摘要:I: Configuring libip6tc0:arm64... I: Configuring libapt-pkg5.0:arm64... I: Configuring libnetfilter-conntrack3:arm64... I: Configuring libnss3:arm64.. 阅读全文

posted @ 2020-11-27 12:05 tycoon3 阅读(143) 评论(0) 推荐(0) 编辑

tap0_kata
摘要:root@ubuntu:/opt/gopath/src/github.com/kata-containers/runtime# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d36cbb25f4ff debian "/ 阅读全文

posted @ 2020-11-26 14:16 tycoon3 阅读(242) 评论(0) 推荐(0) 编辑

kata createEndpoint
摘要:{ “device”:”tap1”, “name”:”eth1”, “IPAddresses”:[{“address”:”172.17.1.10”,”mask”:”24”}], “mtu”:1300, “hwAddr”:”02:42:20:6f:a2:80” “vhostUserSocket”:”/ 阅读全文

posted @ 2020-11-26 11:14 tycoon3 阅读(87) 评论(0) 推荐(0) 编辑

runtime api
摘要:virtcontainers/api 阅读全文

posted @ 2020-11-25 20:31 tycoon3 阅读(93) 评论(0) 推荐(0) 编辑

Launch a Kata Containers container using SR-IOV
摘要:https://github.com/kata-containers/runtime/issues/1876 插件扩展 https://m.php.cn/manual/view/36157.html 网络驱动插件与群模式 Docker 1.12增加了对群集管理和编排的支持,称为群集模式。以群集模式运 阅读全文

posted @ 2020-11-25 19:16 tycoon3 阅读(387) 评论(0) 推荐(0) 编辑

kata virtiofsd
摘要:func (q *qemu) virtiofsdArgs(fd uintptr) []string { // The daemon will terminate when the vhost-user socket // connection with QEMU closes. Therefore 阅读全文

posted @ 2020-11-25 17:48 tycoon3 阅读(124) 评论(0) 推荐(0) 编辑

kata + docker run & star
摘要:func (r *runner) run(config *specs.Process) (int, error) { if err := r.checkTerminal(config); err != nil { r.destroy() return -1, err } process, err : 阅读全文

posted @ 2020-11-24 20:34 tycoon3 阅读(229) 评论(0) 推荐(0) 编辑

/run/kata-containers/shared 和/run/kata-containers/sandbox/
摘要:sharedVolume := &grpc.Storage{ Driver: kataVirtioFSDevType, Source: mountGuestTag, MountPoint: kataGuestSharedDir(), Fstype: typeVirtioFS, Options: sh 阅读全文

posted @ 2020-11-23 15:35 tycoon3 阅读(512) 评论(0) 推荐(0) 编辑

1 2 3 4 下一页

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示