© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
S. M. JainLinux Containers and Virtualizationhttps://doi.org/10.1007/978-1-4842-9768-1_8

8. Containers in Rust

Shashank Mohan Jain1  
(1)
Bengaluru, India
 

In Chapter 7 we looked at basic Rust programming constructs and identified what makes Rust a secure language. We also examined in detail various Rust structures that can be used to accomplish safe programming. In this chapter we explore how to use Rust to create Linux containers and sandboxes. We will mainly focus on the concept of namespaces under Rust and how to use them for process isolation.

Refreshing Linux Namespaces?

Linux namespaces are like a superpower for the Linux kernel. They give processes ...

Get Linux Containers and Virtualization: Utilizing Rust for Linux Containers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.