1
0
mirror of https://github.com/containers/youki synced 2024-11-22 17:02:00 +01:00
Signed-off-by: utam0k <k0ma@utam0k.jp>
This commit is contained in:
utam0k 2023-08-31 11:49:50 +00:00
parent 6b6ee3bd3b
commit c04a9a0577
No known key found for this signature in database
GPG Key ID: 2DB29D2A21B41E0E
6 changed files with 16 additions and 16 deletions

8
Cargo.lock generated

@ -1924,7 +1924,7 @@ checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
[[package]]
name = "libcgroups"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"anyhow",
"clap",
@ -1950,7 +1950,7 @@ dependencies = [
[[package]]
name = "libcontainer"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"anyhow",
"bitflags 2.4.0",
@ -2000,7 +2000,7 @@ dependencies = [
[[package]]
name = "liboci-cli"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"clap",
]
@ -5711,7 +5711,7 @@ dependencies = [
[[package]]
name = "youki"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"anyhow",
"caps",

@ -1,6 +1,6 @@
[package]
name = "libcgroups"
version = "0.1.0"
version = "0.2.0"
description = "Library for cgroup"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"

@ -1,6 +1,6 @@
[package]
name = "libcontainer"
version = "0.1.0"
version = "0.2.0"
description = "Library for container control"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"
@ -31,7 +31,7 @@ oci-spec = { version = "~0.6.2", features = ["runtime"] }
once_cell = "1.18.0"
procfs = "0.15.1"
prctl = "1.0.0"
libcgroups = { version = "0.1.0", path = "../libcgroups", default-features = false }
libcgroups = { version = "0.2.0", path = "../libcgroups", default-features = false }
libseccomp = { version = "0.3.0", optional=true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

@ -1,6 +1,6 @@
[package]
name = "liboci-cli"
version = "0.1.0"
version = "0.2.0"
description = "Parse command line arguments for OCI container runtimes"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"

@ -1,6 +1,6 @@
[package]
name = "youki"
version = "0.1.0"
version = "0.2.0"
description = "A container runtime written in Rust"
license-file = "../../LICENSE"
repository = "https://github.com/containers/youki"
@ -28,9 +28,9 @@ features = ["std", "suggestions", "derive", "cargo", "help", "usage", "error-con
[dependencies]
anyhow = "1.0.75"
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
libcgroups = { version = "0.1.0", path = "../libcgroups", default-features = false }
libcontainer = { version = "0.1.0", path = "../libcontainer", default-features = false }
liboci-cli = { version = "0.1.0", path = "../liboci-cli" }
libcgroups = { version = "0.2.0", path = "../libcgroups", default-features = false }
libcontainer = { version = "0.2.0", path = "../libcontainer", default-features = false }
liboci-cli = { version = "0.2.0", path = "../liboci-cli" }
nix = "0.26.2"
once_cell = "1.18.0"
pentacle = "1.0.0"

@ -49,11 +49,11 @@ Install from the GitHub release.
Note that this way also requires the aforementioned installation.
```console
$ wget https://github.com/containers/youki/releases/download/v0.1.0/youki_0_1_0_linux.tar.gz
$ tar -zxvf youki_0_1_0_linux.tar.gz youki_0_1_0_linux/youki-0.1.0/youki
$ wget https://github.com/containers/youki/releases/download/v0.2.0/youki_0_2_0_linux.tar.gz
$ tar -zxvf youki_0_2_0_linux.tar.gz youki_0_2_0_linux/youki-0.2.0/youki
# Maybe you need root privileges.
$ mv youki_0_1_0_linux/youki-0.1.0/youki /usr/local/bin/youki
$ rm -rf youki_0_1_0_linux.tar.gz youki_0_1_0_linux
$ mv youki_0_2_0_linux/youki-0.2.0/youki /usr/local/bin/youki
$ rm -rf youki_0_2_0_linux.tar.gz youki_0_2_0_linux
```
## Getting the source