opencontainers/runtime-tools là dự án Go với 492 sao trong nhóm Developer Tools. OCI Runtime Tools
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
oci-runtime-tool is a collection of tools for working with the OCI runtime specification.
To build from source code, runtime-tools requires Go 1.19.x or above.
Table of Contents
Additional documentation about how this group operates:
Code of Conduct
security
Generating an OCI runtime spec configuration files
oci-runtime-tool generate generates configuration JSON for an OCI bundle.
OCI-compatible runtimes like runC expect to read the configuration from config.json.
The runtime validation suite uses node-tap, which is packaged for some distributions (for example, it is in Debian's node-tap package).
If your distribution does not package node-tap, you can install npm (for example, from Gentoo's nodejs package) and use it:
$ npm install tap
Build the validation executables:
$ make runtimetest validation-executables
Runtime validation currently only supports the OCI Runtime Command Line Interface.
If we add support for alternative APIs in the future, runtime validation will gain an option to select the desired runtime API.
For the command line interface, the RUNTIME option selects the runtime command (funC in the OCI Runtime Command Line Interface).
$ sudo make RUNTIME=runc localvalidation
RUNTIME=runc tap validation/pidfile.t validation/linux_cgroups_hugetlb.t validation/linux_cgroups_memory.t validation/linux_rootfs_propagation_shared.t validation/kill.t validation/create.t validation/poststart.t validation/linux_cgroups_network.t validation/poststop_fail.t validation/linux_readonly_paths.t validation/prestart_fail.t validation/hooks_stdin.t validation/default.t validation/linux_masked_paths.t validation/poststop.t validation/misc_props.t validation/prestart.t validation/poststart_fail.t validation/mounts.t validation/linux_cgroups_relative_pids.t validation/process_user.t validation/process.t validation/hooks.t validation/process_capabilities_fail.t validation/process_rlimits_fail.t validation/linux_cgroups_relative_cpus.t validation/process_rlimits.t validation/linux_cgroups_relative_blkio.t validation/linux_sysctl.t validation/linux_seccomp.t validation/linux_devices.t validation/start.t validation/linux_cgroups_pids.t validation/process_capabilities.t validation/process_oom_score_adj.t validation/linux_cgroups_relative_hugetlb.t validation/linux_cgroups_cpus.t validation/linux_cgroups_relative_memory.t validation/state.t validation/root_readonly_true.t validation/linux_cgroups_blkio.t validation/linux_rootfs_propagation_unbindable.t validation/delete.t validation/linux_cgroups_relative_network.t validation/hostname.t validation/killsig.t validation/linux_uid_mappings.t
validation/pidfile.t .failed to create the container
container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"process_linux.go:367: setting cgroup config for procHooks process caused \\\"failed to write 56892210544640 to hugetlb.1GB.limit_in_bytes: open /sys/fs/cgroup/hugetlb/cgrouptest/hugetlb.1GB.limit_in_bytes: permission denied\\\"\""
exit status 1
validation/pidfile.t .................................. 1/1 315ms
validation/linux_cgroups_hugetlb.t .................... 0/1
not ok validation/linux_cgroups_hugetlb.t
timeout: 30000
file: validation/linux_cgroups_hugetlb.t
command: validation/linux_cgroups_hugetlb.t
args: []
stdio:
- 0
- pipe
- 2
cwd: /…/go/src/github.com/opencontainers/runtime-tools
exitCode: 1
validation/linux_cgroups_memory.t ..................... 9/9
validation/linux_rootfs_propagation_shared.t ...... 252/282
not ok shared root propagation exposes "/target348456609/mount892511628/example376408222"
Skipped: 29
/dev/null (default device) has unconfigured permissions
…
total ........................................... 4381/4962
4381 passing (1m)
567 pending
14 failing
make: *** [Makefile:44: localvalidation] Error 1
You can also run an individual test executable directly:
$ sudo RUNTIME=runc validation/default/default.t
TAP version 13
ok 1 - has expected hostname
---
{
"actual": "mrsdalloway",
"expected": "mrsdalloway"
}
...
…
ok 287 # SKIP linux.gidMappings not set
1..287
If you cannot install node-tap, you can probably run the test suite with another TAP consumer.
For example, with prove:
opencontainers/runtime-tools thuộc nhóm Developer Tools trên TopGit, cùng 4 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về opencontainers/runtime-tools ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/opencontainers/runtime-tools là nguồn chính thức.
opencontainers/runtime-tools có bao nhiêu sao?
opencontainers/runtime-tools có 492 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/opencontainers/runtime-tools. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
opencontainers/runtime-tools có phải mã nguồn mở không?
Có — opencontainers/runtime-tools phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/opencontainers/runtime-tools.
opencontainers/runtime-tools còn đang phát triển không?
Commit gần nhất trên opencontainers/runtime-tools là 5 tháng trước (theo timestamp GitHub). Repo có 170 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
opencontainers/runtime-tools dùng license gì?
opencontainers/runtime-tools phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
opencontainers/runtime-tools là gì?
opencontainers/runtime-tools (opencontainers/runtime-tools) là dự án Go trên GitHub. Theo mô tả gốc: OCI Runtime Tools
opencontainers/runtime-tools viết bằng ngôn ngữ gì?
opencontainers/runtime-tools chủ yếu viết bằng Go. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc runtime-tools có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về runtime-tools.