2020年12月4日

摘要: https://github.com/haslm/toolchain/tree/a29fb3909141887df1d898181010f71ac011876f/runc / finalizeRootfs sets anything to ro if necessary. You must call 阅读全文
posted @ 2020-12-04 20:15 tycoon3 阅读(389) 评论(0) 推荐(0)
摘要: 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 阅读(132) 评论(0) 推荐(0)
摘要: 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 阅读(397) 评论(0) 推荐(0)
摘要: // Config defines configuration options for executing a process inside a contained environment. type Config struct { ... // Namespaces specifies the c 阅读全文
posted @ 2020-12-04 15:29 tycoon3 阅读(363) 评论(0) 推荐(0)
摘要: 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 阅读(95) 评论(0) 推荐(0)
摘要: 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 阅读(188) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-12-04 11:21 tycoon3 阅读(46) 评论(0) 推荐(0)
摘要: https://www.junmajinlong.com/virtual/namespace/mount_namespace/ root@cloud:~# ls -1 /proc/$$/mount* /proc/3374/mountinfo /proc/3374/mounts /proc/3374/ 阅读全文
posted @ 2020-12-04 10:43 tycoon3 阅读(186) 评论(0) 推荐(0)
摘要: 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 阅读(123) 评论(0) 推荐(0)

导航