mirror of
https://github.com/containers/youki
synced 2024-11-24 01:44:17 +01:00
653b719dbb
This adds the first code to checkpoint a container. The checkpoint command is name 'checkpointt' (with two 't's at the end) so that container engines like Podman do not think to use this not yet finished checkpoint restore implementation. For Podman it is still necessary to tell CRIU that the network namespace is external at least and restoring needs special handling to support '--console-socket'. Signed-off-by: Adrian Reber <areber@redhat.com>
43 lines
1.1 KiB
INI
43 lines
1.1 KiB
INI
[package]
|
|
name = "libcontainer"
|
|
version = "0.0.2"
|
|
authors = ["youki team"]
|
|
edition = "2021"
|
|
rust-version = "1.58.1"
|
|
description = "Library for container creation"
|
|
|
|
[features]
|
|
default = []
|
|
wasm-wasmer = ["wasmer", "wasmer-wasi"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
caps = "0.5.3"
|
|
|
|
chrono = { version="0.4", features = ["serde"] }
|
|
crossbeam-channel = "0.5"
|
|
dbus = "0.9.5"
|
|
fastrand = "1.7.0"
|
|
futures = { version = "0.3", features = ["thread-pool"] }
|
|
libc = "0.2.119"
|
|
log = "0.4"
|
|
mio = { version = "0.8.0", features = ["os-ext", "os-poll"] }
|
|
nix = "0.23.1"
|
|
oci-spec = "0.5.3"
|
|
path-clean = "0.1.0"
|
|
procfs = "0.12.0"
|
|
prctl = "1.0.0"
|
|
libcgroups = { version = "0.0.2", path = "../libcgroups" }
|
|
libseccomp = { version = "0.0.2", path = "../libseccomp" }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
rust-criu = { git = "https://github.com/checkpoint-restore/rust-criu", version = "0.1.0" }
|
|
wasmer = { version = "2.1.1", optional = true }
|
|
wasmer-wasi = { version = "2.1.1", optional = true }
|
|
|
|
[dev-dependencies]
|
|
oci-spec = { version = "0.5.3", features = ["proptests"] }
|
|
quickcheck = "1"
|
|
serial_test = "0.6.0"
|
|
rand = "0.8.5"
|