随笔分类 -  os

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 23 下一页

Debootstrap a standalone Debian system across multiple partitions
摘要:Debootstrap a standalone Debian system across multiple partitions Tuesday, July 07, 2015 Having finally finished my MSci Computer Science course at Lo 阅读全文

posted @ 2020-12-10 15:52 tycoon3 阅读(197) 评论(0) 推荐(0)

syslog
摘要:Logging to syslog from Your Script Problem You’d like your script to be able to log to syslog. Solution Use logger, Netcat, or bash’s built-in network 阅读全文

posted @ 2020-12-10 15:00 tycoon3 阅读(168) 评论(0) 推荐(0)

socat
摘要:root@(none):/# host_vsock_addr=x00x00x14x14x00x00x02x00x00x00x00x00x00x00 root@(none):/# socat -u "fd:3" "socket-connect:40:0:${host_vsock_addr}" 2020 阅读全文

posted @ 2020-12-09 16:20 tycoon3 阅读(2348) 评论(0) 推荐(0)

kata agent install syslog
摘要:112 packages can be upgraded. Run 'apt list --upgradable' to see them. bash: sudo: command not found root@ubuntu:/var/lib/dpkg# apt-get install sudo r 阅读全文

posted @ 2020-12-09 11:10 tycoon3 阅读(967) 评论(0) 推荐(0)

kata 9p
摘要:Manually, using qemu-kvm command line There are a nice set of details on the QEMU wiki describing this, so this section will be quite short. To share 阅读全文

posted @ 2020-12-08 12:05 tycoon3 阅读(271) 评论(0) 推荐(0)

runc nsenter 源码阅读
摘要:背景 最近在阅读 runc 的实现,发现在 runc 中比较重要的一个逻辑是在设置 namespace 过程中的 nsenter 模块,其中逻辑有些绕,也发现了一段很长很有意思的注释,分享一下。 What 什么是 nsenter,nsenter 是 runc 中的一个 package,它包含了一个特 阅读全文

posted @ 2020-12-08 10:20 tycoon3 阅读(472) 评论(0) 推荐(0)

kata vcpu
摘要:default_vcpus = 1 root@ubuntu:/# lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): 1 On-line CPU(s) list: 0 Thread(s) per core: 1 Core(s) 阅读全文

posted @ 2020-12-08 09:56 tycoon3 阅读(98) 评论(0) 推荐(0)

gdb多进程 clone系统调用 received signal SIGBUS, Bus error
摘要:#define _GNU_SOURCE #include<sched.h> #include<stdio.h> #include<stdlib.h> #include<sys/wait.h> #include<unistd.h> #include<errno.h> #include<string.h 阅读全文

posted @ 2020-12-07 19:15 tycoon3 阅读(938) 评论(0) 推荐(0)

LINUX – WRITING A SIMPLE CONTAINER APP WITH NAMESPACES
摘要:One of the building blocks to implement containers is Linux namespaces. Namespaces control what a process can see. It can be the processes IDs, mount 阅读全文

posted @ 2020-12-07 17:48 tycoon3 阅读(113) 评论(0) 推荐(0)

nsexec
摘要:root@cloud:~# ps -elf | grep nsexec 0 S root 57368 56786 0 80 0 - 420 wait 14:23 pts/0 00:00:00 ./nsexec 0 S root 57387 57371 0 80 0 - 1418 pipe_r 14: 阅读全文

posted @ 2020-12-07 14:51 tycoon3 阅读(283) 评论(0) 推荐(0)

nsenter
摘要:https://x3fwy.bitcron.com/post/runc-malicious-container-escape The `nsenter` package will `import "C"` and it uses [cgo](https://golang.org/cmd/cgo/) 阅读全文

posted @ 2020-12-06 18:16 tycoon3 阅读(337) 评论(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 阅读(184) 评论(0) 推荐(0)

read only files
摘要: 阅读全文

posted @ 2020-12-04 11:21 tycoon3 阅读(45) 评论(0) 推荐(0)

mount namespace
摘要: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 阅读(179) 评论(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 阅读(236) 评论(0) 推荐(0)

persistent namespaces
摘要:persistent namespaces Today I merged support for persistent namespaces to unshare(1). The persistent namespace does not require any running process wi 阅读全文

posted @ 2020-12-02 15:53 tycoon3 阅读(102) 评论(0) 推荐(0)

CreateContainer & CreateSandbox(
摘要:func (a *agentGRPC) CreateContainer(ctx context.Context, req *pb.CreateContainerRequest) (resp *gpb.Empty, err error) { if err := a.createContainerChe 阅读全文

posted @ 2020-12-02 10:19 tycoon3 阅读(255) 评论(0) 推荐(0)

Xvfb- bootargs systemd.unit systemd.mask
摘要:Select boot-target : – via /etc/systemd/system/default.target symlink; – appending number or systemd.unit=<target> to bootargs. root@ubuntu:/# systemc 阅读全文

posted @ 2020-11-30 20:35 tycoon3 阅读(703) 评论(0) 推荐(0)

No journal files were found.
摘要:root@ubuntu:/# journalctl -r -t Openvmi-Container-Manager No journal files were found. -- No entries -- root@ubuntu:/# systemctl restart systemd-journ 阅读全文

posted @ 2020-11-30 14:50 tycoon3 阅读(2739) 评论(0) 推荐(0)

下一代存储技术的先行: NVDIMM 你了解吗?
摘要:惠春阳, Intel 软件工程师, 主要从事SPDK开发和存储软件性能优化的工作。 文章转载自DPDK与SPDK开源社区 随着存储技术的发展, 对存储性能的不懈追求, 高性能存储开始探索向内存通道的迁移。 在这样的情况下, NVDIMM 技术便应运而生了。 NVDIMM (Non-Volatile 阅读全文

posted @ 2020-11-30 10:52 tycoon3 阅读(4650) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 23 下一页

导航