随笔分类 -  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 阅读(130) 评论(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 阅读(636) 评论(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 阅读(279) 评论(0) 推荐(0)

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

posted @ 2020-12-08 20:36 tycoon3 阅读(69) 评论(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 阅读(127) 评论(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 阅读(376) 评论(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 阅读(77) 评论(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 阅读(182) 评论(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 阅读(233) 评论(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 阅读(2039) 评论(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 阅读(144) 评论(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 阅读(292) 评论(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 阅读(92) 评论(0) 推荐(0)

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

posted @ 2020-11-25 20:31 tycoon3 阅读(96) 评论(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 阅读(403) 评论(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 阅读(131) 评论(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 阅读(237) 评论(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 阅读(556) 评论(0) 推荐(0)

1 2 3 4 下一页

导航