摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:virtcontainers/kata_agent.go:67: defaultKataGuestSharedDir = "/run/kata-containers/shared/containers/"
阅读全文
摘要:https://www.jianshu.com/p/c48e6cd84ff5 nsenter/nsenter.go 1、怎么获取mydocker_pid 2、怎么获取mydocker_cmd package nsenter /* #include <errno.h> #include <sched.
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:https://github.com/kata-containers/runtime/issues/571 https://github.com/gotoz/runq#storage docker run -it --runtime=kata-runtime --device data1:/data
阅读全文
摘要:func (k *kataAgent) createContainer(sandbox *Sandbox, c *Container) (p *Process, err error) { span, _ := k.trace("createContainer") defer span.Finish(
阅读全文
摘要:func setupStorages(sandbox *Sandbox) []*grpc.Storage { storages := []*grpc.Storage{} caps := sandbox.hypervisor.capabilities() // append 9p shared vol
阅读全文
摘要:// setupPersistentNs creates persistent namespace without switchin to it. // Note, pid namespaces cannot be persisted. func setupPersistentNs(namespac
阅读全文
摘要:docker: Error response from daemon: OCI runtime create failed: rpc error: code = Internal desc = Could not run process: container_linux.go:349: starti
阅读全文
摘要:I: Configuring libip6tc0:arm64... I: Configuring libapt-pkg5.0:arm64... I: Configuring libnetfilter-conntrack3:arm64... I: Configuring libnss3:arm64..
阅读全文
摘要:root@ubuntu:/opt/gopath/src/github.com/kata-containers/runtime# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d36cbb25f4ff debian "/
阅读全文
摘要:{ “device”:”tap1”, “name”:”eth1”, “IPAddresses”:[{“address”:”172.17.1.10”,”mask”:”24”}], “mtu”:1300, “hwAddr”:”02:42:20:6f:a2:80” “vhostUserSocket”:”/
阅读全文
摘要:https://github.com/kata-containers/runtime/issues/1876 插件扩展 https://m.php.cn/manual/view/36157.html 网络驱动插件与群模式 Docker 1.12增加了对群集管理和编排的支持,称为群集模式。以群集模式运
阅读全文
摘要:func (q *qemu) virtiofsdArgs(fd uintptr) []string { // The daemon will terminate when the vhost-user socket // connection with QEMU closes. Therefore
阅读全文
摘要:func (r *runner) run(config *specs.Process) (int, error) { if err := r.checkTerminal(config); err != nil { r.destroy() return -1, err } process, err :
阅读全文
摘要:sharedVolume := &grpc.Storage{ Driver: kataVirtioFSDevType, Source: mountGuestTag, MountPoint: kataGuestSharedDir(), Fstype: typeVirtioFS, Options: sh
阅读全文