Skip to main content

libcontainer/container/
mod.rs

1//! Container management
2/// This crate is responsible for the creation of containers. It provides a builder that can
3/// be used to configure and create containers. We distinguish between an init container for which
4/// namespaces and cgroups will be created (usually) and a tenant container process that will move
5/// into the existing namespaces and cgroups of the initial container process (e.g. used to implement
6/// the exec command).
7pub mod builder;
8mod builder_impl;
9#[allow(clippy::module_inception)]
10mod container;
11mod container_checkpoint;
12mod container_criu;
13mod container_delete;
14mod container_events;
15mod container_kill;
16mod container_pause;
17mod container_resume;
18mod container_start;
19pub mod init_builder;
20pub mod state;
21pub mod tenant_builder;
22pub use container::{CheckpointOptions, Container};
23pub use container_checkpoint::CheckpointError;
24#[allow(deprecated)]
25pub use state::ContainerProcessState;
26pub use state::{ContainerStatus, State, StateConversionError};