Comments (4)
这篇文章主要想解决的问题与 #290 类似,这两篇文章是相同的一作。目前 Docker 落地非常广泛,但是在调试的时候我们通常需要很多工具,这些工具在正常运行的时候不需要,但是调试的时候就需要安装。如果 attach 进去然后再装会非常麻烦。
这个问题如果在 K8s 里可以用最新的特性 https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/#ephemeral-container 来做
文章的实现不一样,但是想解决的问题是一样的。K8s 只是把新启动的容器和待 debug 的容器启动在了相同的 namespace 下,相互可以看到,但是 CNTR 不太一样。
CNTR 是把两个容器通过 FUSE 和 nested namespace 把他们的文件系统挂在了一起
The key idea behind our approach is to create a new nested namespace inside the application container (i.e., “slim container”), which provides access to the resources in the “fat” container, or the host, through a FUSE filesystem interface. CNTR uses the FUSE system to combine the filesystems of two images without any modification to the application, the container implementation, or the operating system. CNTR selectively redirects the filesystem requests between the mount namespace of the container (i.e., what applications within the container observe and access) and the “fat” container image or the host, based on the filesystem request path. Importantly, CNTR supports the full Linux filesystem API and all container implementations (i.e., Docker, rkt, LXC, systemd-nspawn)
from papers-notebook.
from papers-notebook.
可以理解为 CNTR 实现 on-the-fly 地 mount 一个文件系统到容器里的能力
from papers-notebook.
CNTR server 通过内核的 FUSE Driver 来跟一个 mount namespace 里的进程交互的, CNTR 相当于是代理,把来自 Slim container 的访问请求代理到另外一个 mount namespace 的 FS 上去。
相当于做了一个代理,联通了两个 mount namespace 下的 FS
from papers-notebook.
Related Issues (20)
- Retiarii: A Deep Learning Exploratory-Training Framework HOT 1
- Gradient Compression Supercharged High-Performance Data Parallel DNN Training
- Generating Complex, Realistic Cloud Workloads using Recurrent Neural Networks
- Boki: Stateful Serverless Computing with Shared Logs HOT 2
- Faster and Cheaper Serverless Computing on Harvested Resources
- MAPA: Multi-Accelerator Pattern Allocation Policy for Multi-Tenant GPU Servers
- An Evaluation of WebAssembly and eBPF as Offloading Mechanisms in the Context of Computational Storage HOT 1
- Maglev: A Fast and Reliable Software Network Load Balancer HOT 3
- ZeRO & DeepSpeed: New system optimizations enable training models with over 100 billion parameters HOT 13
- ZeRO-Offload: Democratizing Billion-Scale Model Training HOT 2
- Serving DNN Models with Multi-Instance GPUs: A Case of the Reconfigurable Machine Scheduling Problem HOT 1
- BAGUA: Scaling up Distributed Learning with System Relaxations
- Mind the Gap: Broken Promises of CPU Reservations in Containerized Multi-tenant Clouds HOT 2
- To FUSE or Not to FUSE: Performance of User-Space File Systems HOT 4
- DeepRest: Deep Resource Estimation for Interactive Microservices.
- VMSH: hypervisor-agnostic guest overlays for VMs HOT 6
- Towards Observability for Production Machine Learning Pipelines
- How Large Language Models Will Disrupt Data Management HOT 1
- VBASE: Unifying Online Vector Similarity Search and Relational Queries via Relaxed Monotonicity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from papers-notebook.