1
0
mirror of https://github.com/containers/youki synced 2024-09-20 19:02:41 +02:00
Commit Graph

775 Commits

Author SHA1 Message Date
dependabot[bot]
83d3c140ca
chore(deps): bump libc from 0.2.140 to 0.2.141
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.140 to 0.2.141.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.140...0.2.141)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 01:09:59 +00:00
dependabot[bot]
d74ec51236
chore(deps): bump serial_test from 1.0.0 to 2.0.0 (#1755)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v1.0.0...v2.0.0)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-31 00:09:49 -07:00
Yashodhan
25cff9b7db
Merge pull request #1744 from yihuaf/yihuaf/fix
[Trivial] Remove the metadata semvar causing a warning.
2023-03-31 12:38:37 +05:30
Eric Fang
5a12fd7381
Fix stop container when prestart hook fails. (#1745)
* Fix stop container when prestart hook fails.
---------

Signed-off-by: Eric Fang <yihuaf@unkies.org>
Co-authored-by: Yashodhan <54112038+YJDoc2@users.noreply.github.com>
2023-03-30 10:46:55 -07:00
Toru Komatsu
e498e0fec3
Merge pull request #1743 from yihuaf/yihuaf/makefile
[Trivial] Fix makefile targets to use PHONY
2023-03-30 14:57:07 +09:00
Toru Komatsu
a2ea22d1f3
Merge pull request #1702 from containers/dependabot/cargo/wasmtime-7.0.0
chore(deps): bump wasmtime from 6.0.1 to 7.0.0
2023-03-30 14:47:39 +09:00
Eric Fang
9a8059f81f [Trivial] Remove the metadata semvar causing a warning.
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-29 20:20:12 +02:00
Eric Fang
8a8b8e34a0 [Trivial] Fix makefile targets to use PHONY
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-29 18:22:01 +02:00
utam0k
dcffd57015
v0.0.5
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-03-29 11:12:36 +00:00
dependabot[bot]
ac64c5b8de
chore(deps): bump mockall from 0.11.3 to 0.11.4
Bumps [mockall](https://github.com/asomers/mockall) from 0.11.3 to 0.11.4.
- [Release notes](https://github.com/asomers/mockall/releases)
- [Changelog](https://github.com/asomers/mockall/blob/master/CHANGELOG.md)
- [Commits](https://github.com/asomers/mockall/compare/v0.11.3...v0.11.4)

---
updated-dependencies:
- dependency-name: mockall
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 01:58:38 +00:00
dependabot[bot]
9f1d0275f1
chore(deps): bump syscalls from 0.6.8 to 0.6.9
Bumps [syscalls](https://github.com/jasonwhite/syscalls) from 0.6.8 to 0.6.9.
- [Release notes](https://github.com/jasonwhite/syscalls/releases)
- [Changelog](https://github.com/jasonwhite/syscalls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jasonwhite/syscalls/compare/0.6.8...0.6.9)

---
updated-dependencies:
- dependency-name: syscalls
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-24 01:22:53 +00:00
Kris Nóva
bef32e083f
Introduce seccomp feature for libcontainer with musl (#1484)
* Introduce seccomp feature for libcontainer with musl

Signed-off-by: Kris Nóva <kris@nivenly.com>

* remove mystery merge conflict

Signed-off-by: Eric Fang <yihuaf@unkies.org>

---------

Signed-off-by: Kris Nóva <kris@nivenly.com>
Signed-off-by: Eric Fang <yihuaf@unkies.org>
Co-authored-by: Eric Fang <yihuaf@unkies.org>
2023-03-23 10:57:51 -07:00
Joshua Ford
543780cbfa
fix(libcontainer): Run test_is_executable with a created file
This test was failing on some popular Linux distros, like Fedora,
because `/boot/initrd.img` doesn't exist. This change alters the test so
that a non-executable file is generated in the system `/tmp` directory.

Signed-off-by: Joshua Ford <joshua.ford@protonmail.com>
2023-03-23 07:15:36 -05:00
Yashodhan Joshi
981edb003e Merge branch 'main' into dependabot/cargo/wasmtime-7.0.0 2023-03-23 17:14:39 +05:30
Yashodhan Joshi
a9b85d4782 Merge branch 'dependabot/cargo/wasmtime-wasi-7.0.0' into dependabot/cargo/wasmtime-7.0.0 2023-03-23 17:11:52 +05:30
Yashodhan
d0609348b1
Merge pull request #1654 from yihuaf/yihuaf/delete
Refactor youki delete to match runc/crun.
2023-03-22 19:54:54 +05:30
dependabot[bot]
ceef09e928
chore(deps): bump wasmtime-wasi from 6.0.1 to 7.0.0
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v6.0.1...v7.0.0)

---
updated-dependencies:
- dependency-name: wasmtime-wasi
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 01:10:46 +00:00
dependabot[bot]
4e313498a2
chore(deps): bump syscalls from 0.6.7 to 0.6.8
Bumps [syscalls](https://github.com/jasonwhite/syscalls) from 0.6.7 to 0.6.8.
- [Release notes](https://github.com/jasonwhite/syscalls/releases)
- [Changelog](https://github.com/jasonwhite/syscalls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jasonwhite/syscalls/compare/0.6.7...0.6.8)

---
updated-dependencies:
- dependency-name: syscalls
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 01:10:31 +00:00
dependabot[bot]
3da565badd
chore(deps): bump wasmtime from 6.0.1 to 7.0.0
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v6.0.1...v7.0.0)

---
updated-dependencies:
- dependency-name: wasmtime
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 01:09:11 +00:00
github-actions[bot]
5604f9406d
Merge pull request #1694 from containers/dependabot/cargo/anyhow-1.0.70 2023-03-20 02:04:26 +00:00
dependabot[bot]
7e2c932b1c
chore(deps): bump anyhow from 1.0.69 to 1.0.70
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.69 to 1.0.70.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.69...1.0.70)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 01:49:39 +00:00
dependabot[bot]
0e9e1214b1
chore(deps): bump bitflags from 2.0.1 to 2.0.2
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/2.0.1...2.0.2)

---
updated-dependencies:
- dependency-name: bitflags
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 01:43:42 +00:00
Toru Komatsu
2260c1ea77
Merge pull request #1656 from yihuaf/yihuaf/foreground
Implement basic foreground mode
2023-03-17 13:55:46 +09:00
dependabot[bot]
42bebda6a7
chore(deps): bump bitflags from 2.0.0 to 2.0.1
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1)

---
updated-dependencies:
- dependency-name: bitflags
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 01:17:05 +00:00
Eric Fang
521606522e fix fmt
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-16 17:33:38 +01:00
Eric Fang
784a5c7a2e Add test
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-16 17:28:41 +01:00
Eric Fang
816739c170 Minor fixes
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-16 02:30:00 +01:00
Eric Fang
d64be1069c implemented foreground mode
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-16 02:21:25 +01:00
dependabot[bot]
c42da7549e
chore(deps): bump bitflags from 1.3.2 to 2.0.0 (#1670)
* chore(deps): bump bitflags from 1.3.2 to 2.0.0

Bumps [bitflags](https://github.com/bitflags/bitflags) from 1.3.2 to 2.0.0.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/1.3.2...2.0.0)

---
updated-dependencies:
- dependency-name: bitflags
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix build issue

Signed-off-by: Eric Fang <yihuaf@unkies.org>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Eric Fang <yihuaf@unkies.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Fang <yihuaf@unkies.org>
2023-03-14 11:52:07 -07:00
Eric Fang
882fd8d1c7 Kill all process for created and creating
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-11 04:25:32 +01:00
utam0k
cf382cfc51
with_executors
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-03-11 10:47:33 +09:00
utam0k
a344af9665
Fix the error of lint
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-03-11 10:37:18 +09:00
utam0k
c9a69e4525
libcontainer: Make the workloads injectable
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-03-11 10:37:16 +09:00
dependabot[bot]
c7e2dbcb81
chore(deps): bump clap_complete from 4.1.2 to 4.1.3
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.1.2...clap_complete-v4.1.3)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-11 10:32:33 +09:00
dependabot[bot]
0fc22570b0
chore(deps): bump clap from 4.1.4 to 4.1.6
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.4 to 4.1.6.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.1.4...v4.1.6)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-11 10:32:33 +09:00
dependabot[bot]
fed5da2f0f
chore(deps): bump clap_complete from 4.1.1 to 4.1.2
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.1.1...clap_complete-v4.1.2)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-11 10:32:33 +09:00
Toru Komatsu
ef5daba2b4
Merge pull request #1637 from yihuaf/yihuaf/fix-exec
Fixed container init process not re-parent to youki main process
2023-03-11 10:24:05 +09:00
Toru Komatsu
8735005b5d
Merge pull request #1652 from containers/dependabot/cargo/libc-0.2.140
(auto merged) chore(deps): bump libc from 0.2.139 to 0.2.140
2023-03-10 17:18:09 +09:00
Eric Fang
16be64254f Fixed container init process not re-parent to youki main process
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-10 07:06:39 +01:00
Eric Fang
03bb81da0a fix
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-10 06:53:12 +01:00
Eric Fang
9cf049f2ef Add a bit of comment on when failed to load config during delete
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-10 06:52:52 +01:00
Eric Fang
44e296be63 refactored delete
Refactored the delete to match runc and crun. Now youki allow deletion
    of created containers.

Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-10 06:40:37 +01:00
rongfu.leng
6f30e20adc
fix container delete error (#1649)
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-03-09 21:32:52 -08:00
dependabot[bot]
b1d51d03d5
chore(deps): bump libc from 0.2.139 to 0.2.140
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.139 to 0.2.140.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.139...0.2.140)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-10 01:09:18 +00:00
minatoaquaMK2
0bdcc3eea6
fix typo in container_main_process.rs (#1641)
Signed-off-by: minatoaquaMK2 <jiacheng.yue@foxmail.com>
2023-03-09 08:04:18 -08:00
dependabot[bot]
bf850dafae
chore(deps): bump wasmtime-wasi from 6.0.0 to 6.0.1
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v6.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: wasmtime-wasi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 01:09:11 +00:00
dependabot[bot]
8d29f10ba1
chore(deps): bump wasmtime from 6.0.0 to 6.0.1
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v6.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: wasmtime
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 00:10:46 +00:00
Toru Komatsu
8744614033
Merge pull request #1610 from yihuaf/yihuaf/1601
Implement the container_clone using CLONE_PARENT
2023-03-06 21:41:34 +09:00
Eric Fang
d56fec30de Implement the container_clone using CLONE_PARENT
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-06 04:58:04 +01:00
rongfu.leng
74a499f894
feat Add container id validate (#1602)
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-03-02 21:05:49 -08:00