syscontainer-tools is a fully customized tool. It is a small auxiliary tool which is expected to work with iSulad with hook support, and provides enhanced functions which are inappropriate to be included in iSulad itself.
The project includes two main parts: syscontainer-tools
and hooks
.
syscontainer-tools
is used for dynamically operating on running containers,
and hooks
is used for executing user-defined programs at some special time points of the container's lifecycle.
We provide syscontainer-hooks
with the following functions:
syscontainer-tools
into a container when the container restarts (pre-start state).syscontainer-tools
into a container when the container restarts (pre-start state).You can use hook-spec to customize your hooks. For detailed information, see syscontainer-hooks.
Basic usage of syscontainer-tools
:
NAME:
syscontainer-tools - Enhanced tools for IT iSulad
USAGE:
syscontainer-tools [global options] command [command options] [arguments...]
VERSION:
v0.9
commit: e39c47b1d0403fd133c49db13ab6df7e5d53a21b
COMMANDS:
add-device add one or more host devices to the container
add-nic create network interfaces for the container
add-path add one or more host paths to the container
add-route add a new network route rule to the container
relabel relabel rootfs for running SELinux in the system container
remove-device remove one or more devices from the container
remove-nic remove a network interface from the container
remove-path remove one or more paths from the container
remove-route remove a network route rule from the container
GLOBAL OPTIONS:
--debug enable debug output for logging
--log "/dev/null" set the log file path where internal debug information is written
--log-format "text" set the format used by logs ('text' (default), or 'json')
--syslog-service "unix:///dev/log" set the syslog service
--help, -h show help information
--version, -v print the version
For usage of each command, you can check with --help
, for example, syscontainer-tools add-device --help
.
As this is a fully customized tool, we don't think anyone will be interested in contributing to this project, but we welcome your contributions. Before contributing, please make sure you understand our needs and make a communication with us: isulad@openeuler.org.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型