diff --git a/content/en/docs/Container/about-this-document.md b/content/en/docs/Container/about-this-document.md deleted file mode 100644 index 5b281829e8f9dee565a8817f84949638614a8789..0000000000000000000000000000000000000000 --- a/content/en/docs/Container/about-this-document.md +++ /dev/null @@ -1,51 +0,0 @@ -# About This Document - -## Overview - -The openEuler software package provides iSula, the basic platform for running containers. - -iSula is a brand of Huawei's container technology solution. It originally means a kind of ant. This ant is also known as "bullet ant" due to the extremely painful sting, which has been compared to being shot by a bullet. In the eyes of Brazilian natives living in the Amazon jungle in Central and South America, iSula is one of the most powerful insects in the world. Huawei names the container technology solution brand based on its meaning. - -The basic container platform iSula provides both Docker engine and lightweight container engine iSulad. You can select either of them as required. - -In addition, the following container forms are provided on different application scenarios: - -- Common containers applicable to most common scenarios -- Secure containers applicable to strong isolation and multi-tenant scenarios -- System containers applicable to scenarios where the systemd is used to manage services - -This document describes how to install and use the container engines and how to deploy and use containers in different forms. - -## Intended Audience - -This document is intended for openEuler users who need to install containers. You can better understand this document if you: - -- Be familiar with basic Linux operations. -- Have a basic understanding of containers. - -## Symbol Conventions - -The symbols that may be found in this document are defined as follows. - - -
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -DNS option list. For details, see https://linux.die.net/man/5/resolv.conf. - |
-
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
---|---|
Protocol protocol - |
- - | -
- | -- | -
- | -- | -
- | -- | -
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- - | -
- | -Whether to set the SELinux label. This parameter does not take effect now. - |
-
MountPropagation propagation - |
-
- The value can be 0, 1, or 2, corresponding to the private, rslave, and rshared propagation attributes respectively. - - |
-
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
---|---|
- | -- | -
- | -- | -
---|---|
- | -- | -
- | -- | -
---|---|
NamespaceOption namespace_options - |
- - | -
SELinuxOption selinux_options - |
- - | -
Int64Value run_as_user - |
- - | -
- | -- | -
- | -Information of the user group of the init process in the sandbox (except the primary GID). - |
-
- | -- | -
- | -Path of the seccomp configuration file. Valid values are as follows: -// unconfined: Seccomp is not configured. -// localhost/ Full path of the configuration file: configuration file path installed in the system. -// Full path of the configuration file: full path of the configuration file. - - |
-
- | -- | -
---|---|
- | -Parent path of the cgroup of the sandbox. The runtime can use the cgroupfs or systemd syntax based on site requirements. This parameter does not take effect now. - |
-
LinuxSandboxSecurityContext security_context - |
- - | -
- | -- | -
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
- | -- - | -
- | -- | -
---|---|
PodSandboxMetadata metadata - |
- Sandbox metadata, which uniquely identifies a sandbox. The runtime must use the information to ensure that operations are correctly performed, and to improve user experience, for example, construct a readable sandbox name. - |
-
- | -- | -
- | -- | -
DNSConfig dns_config - |
- - | -
repeated PortMapping port_mappings - |
- - | -
- | -Key-value pair that can be used to identify a sandbox or a series of sandboxes. - |
-
- | -Key-value pair that stores any information, whose values cannot be changed and can be queried by using the PodSandboxStatus API. - |
-
LinuxPodSandboxConfig linux - |
- - | -
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
- | -- | -
---|---|
NamespaceOption options - |
- - | -
- | -- | -
---|---|
Namespace namespaces - |
- - | -
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
---|---|
- | -- | -
PodSandboxMetadata metadata - |
- - | -
PodSandboxState state - |
- - | -
- | -- | -
repeated PodSandboxNetworkStatus networks - |
- - | -
LinuxPodSandboxStatus linux - |
- - | -
- | -Key-value pair that can be used to identify a sandbox or a series of sandboxes. - |
-
- | -Key-value pair that stores any information, whose values cannot be changed by the runtime. - |
-
- | -- | -
---|---|
PodSandboxState state - |
- - | -
- | -- | -
---|---|
- | -- | -
PodSandboxStateValue state - |
- - | -
- | -Sandbox label, which does not support regular expressions and must be fully matched. - |
-
- | -- | -
---|---|
- | -- | -
PodSandboxMetadata metadata - |
- - | -
PodSandboxState state - |
- - | -
- | -- | -
- | -Key-value pair that can be used to identify a sandbox or a series of sandboxes. - |
-
- | -Key-value pair that stores any information, whose values cannot be changed by the runtime. - |
-
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
- | -- | -
- | -- | -
---|---|
- | -- | -
- | -- - | -
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
- | -- | -
- | -- | -
---|---|
ContainerState state - |
- - | -
- | -- | -
---|---|
- | -- | -
PodSandboxStateValue state - |
- - | -
- | -- | -
- | -Container label, which does not support regular expressions and must be fully matched. - |
-
- | -- | -
Capability capabilities - |
- - | -
- | -Whether the container is in privileged mode. Default value: false - |
-
NamespaceOption namespace_options - |
- - | -
SELinuxOption selinux_options - |
- SELinux context, which is optional. This parameter does not take effect now. - |
-
Int64Value run_as_user - |
- UID for running container processes. Only run_as_user or run_as_username can be specified at a time. run_as_username takes effect preferentially. - |
-
- | -Username for running container processes. If specified, the user must exist in /etc/passwd in the container image and be parsed by the runtime. Otherwise, an error must occur during running. - |
-
- | -Whether the root file system in a container is read-only. The default value is configured in config.json. - |
-
- | -List of user groups of the init process running in the container (except the primary GID). - |
-
- | -AppArmor configuration file of the container. This parameter does not take effect now. - |
-
- | -- | -
- | -- | -
- | -- | -
- | -- | -
- | -- | -
- | -- | -
- | -- | -
- | -OOMScoreAdj that is used to adjust the OOM killer. Default value: 0 - |
-
- | -- | -
- | -- | -
- | -- | -
- | -- | -
- | -- | -
- | -- | -
- | -- | -
Int64Value uid - |
- - | -
- | -- | -
- | -- | -
---|---|
- | -- | -
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
StorageIdentifier storage_id - |
- - | -
UInt64Value used_bytes - |
- - | -
UInt64Value inodes_used - |
- - | -
- | -- | -
---|---|
- | -- | -
- | -- | -
ContainerMetadata metadata - |
- - | -
ImageSpec image - |
- - | -
- | -Image used by the container. This parameter is an image ID for most runtime. - |
-
ContainerState state - |
- - | -
- | -- | -
- | -Key-value pair that can be used to identify a container or a series of containers. - |
-
- | -Key-value pair that stores any information, whose values cannot be changed by the runtime. - |
-
- | -- | -
---|---|
- | -- | -
ContainerMetadata metadata - |
- - | -
ContainerState state - |
- - | -
- | -- | -
- | -- | -
- | -- | -
- | -- | -
ImageSpec image - |
- - | -
- | -Image used by the container. This parameter is an image ID for most runtime. - |
-
- | -Brief description of the reason why the container is in the current status. - |
-
- | -Information that is easy to read and indicates the reason why the container is in the current status. - |
-
- | -Key-value pair that can be used to identify a container or a series of containers. - |
-
- | -Key-value pair that stores any information, whose values cannot be changed by the runtime. - |
-
repeated Mount mounts - |
- - | -
- | -Path of the container log file that is in the log_directory folder configured in PodSandboxConfig. - |
-
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -Container label, which does not support regular expressions and must be fully matched. - |
-
- | -- | -
---|---|
ContainerAttributes attributes - |
- - | -
CpuUsage cpu - |
- - | -
MemoryUsage memory - |
- - | -
FilesystemUsage writable_layer - |
- - | -
- | -- | -
---|---|
- | -- | -
ContainerMetadata metadata - |
- - | -
- | -Key-value pair that can be used to identify a container or a series of containers. - |
-
- | -Key-value pair that stores any information, whose values cannot be changed by the runtime. - |
-
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
- | -- | -
- | -- | -
LinuxContainerResources resources - |
- - | -
LinuxContainerSecurityContext security_context - |
- - | -
- | -- | -
ContainerMetadata metadata - |
- Container metadata. The information will uniquely identify a container and should be used at runtime to ensure correct operations. The information can also be used at runtime to optimize the user experience (UX) design, for example, construct a readable name. This parameter is mandatory. - |
-
ImageSpec image - |
- - | -
- | -- | -
- | -- | -
- | -- | -
repeated KeyValue envs - |
- - | -
repeated Mount mounts - |
- Information about the mount point to be mounted in the container. - |
-
repeated Device devices - |
- - | -
- | -Key-value pair that can be used to index and select a resource. - |
-
- | -Unstructured key-value mappings that can be used to store and retrieve any metadata. - |
-
- | -Relative path to PodSandboxConfig.LogDirectory, which is used to store logs (STDOUT and STDERR) on the container host. - |
-
- | -- | -
- | -Whether to immediately disconnect other data flows connected with stdin when a data flow connected with stdin is disconnected. This parameter does not take effect now. - |
-
- | -Whether to use a pseudo terminal to connect to stdio of the container. - |
-
LinuxContainerConfig linux - |
- - | -
- | -- | -
- | -- | -
- | -- | -
NetworkConfig network_config - |
- - | -
- | -- | -
- | -- | -
diff --git a/content/en/docs/Container/apis-32.md b/content/en/docs/Container/appendix-2.md
similarity index 94%
rename from content/en/docs/Container/apis-32.md
rename to content/en/docs/Container/appendix-2.md
index aba7d770ac11b3e6599771f107912d6e24b3f817..483c1d83b6e4135f70aafb888058366c50342ace 100644
--- a/content/en/docs/Container/apis-32.md
+++ b/content/en/docs/Container/appendix-2.md
@@ -1,4 +1,91 @@
-# APIs
+# Appendix
+
+- [Appendix](#appendix-2)
+ - [configuration.toml](#configuration-toml)
+ - [APIs](#apis)
+
+## configuration.toml
+
+> **NOTE:**
+>The value of each field in the **configuration.toml** file is subject to the **configuration.toml** file in the **kata-containers-<**_version_**\>.rpm package**. You cannot set any field in the configuration file.
+
+```
+[hypervisor.qemu]
+path: specifies the execution path of the virtualization QEMU.
+kernel: specifies the execution path of the guest kernel.
+initrd: specifies the guest initrd execution path.
+image: specifies the execution path of the guest image (not applicable).
+machine_type: specifies the type of the analog chip. The value is virt for the ARM architecture and pc for the x86 architecture.
+kernel_params: specifies the running parameters of the guest kernel.
+firmware: specifies the firmware path. If this parameter is left blank, the default firmware is used.
+machine_accelerators: specifies an accelerator.
+default_vcpus: specifies the default number of vCPUs for each SB/VM.
+default_maxvcpus: specifies the default maximum number of vCPUs for each SB/VM.
+default_root_ports: specifies the default number of root ports for each SB/VM.
+default_bridges: specifies the default number of bridges for each SB/VM.
+default_memory: specifies the default memory size of each SB/VM. The default value is 1024 MiB.
+memory_slots: specifies the number of memory slots for each SB/VM. The default value is 10.
+memory_offset: specifies the memory offset. The default value is 0.
+disable_block_device_use: disables the block device from being used by the rootfs of the container.
+shared_fs: specifies the type of the shared file system. The default value is virtio-9p.
+virtio_fs_daemon: specifies the path of the vhost-user-fs daemon process.
+virtio_fs_cache_size: specifies the default size of the DAX cache.
+virtio_fs_cache: specifies the cache mode.
+block_device_driver: specifies the driver of a block device.
+block_device_cache_set: specifies whether to set cache-related options for a block device. The default value is false.
+block_device_cache_direct: specifies whether to enable O_DIRECT. The default value is false.
+block_device_cache_noflush: specifies whether to ignore device update requests. The default value is false.
+enable_iothreads: enables iothreads.
+enable_mem_prealloc: enables VM RAM pre-allocation. The default value is false.
+enable_hugepages: enables huge pages. The default value is false.
+enable_swap: enables the swap function. The default value is false.
+enable_debug: enables QEMU debugging. The default value is false.
+disable_nesting_checks: disables nested check.
+msize_9p = 8192: specifies the number of bytes transmitted in each 9p packet.
+use_vsock: uses vsocks to directly communicate with the agent (the prerequisite is that vsocks is supported). The default value is false.
+hotplug_vfio_on_root_bus: enables the hot swap of the VFIO device on the root bus. The default value is false.
+disable_vhost_net: disables vhost_net. The default value is false.
+entropy_source: specifies the default entropy source.
+guest_hook_path: specifies the binary path of the guest hook.
+
+[factory]
+enable_template: enables the VM template. The default value is false.
+template_path: specifies the template path.
+vm_cache_number: specifies the number of VM caches. The default value is 0.
+vm_cache_endpoint: specifies the address of the Unix socket used by the VMCache. The default value is /var/run/kata-containers/cache.sock.
+
+[proxy.kata]
+path: specifies the kata-proxy running path.
+enable_debug: enables proxy debugging. The default value is false.
+
+[shim.kata]
+path: specifies the running path of kata-shim.
+enable_debug: enables shim debugging. The default value is false.
+enable_tracing: enables shim opentracing.
+
+[agent.kata]
+enable_debug: enables the agent debugging function. The default value is false.
+enable_tracing: enables the agent tracing function.
+trace_mode: specifies the trace mode.
+trace_type: specifies the trace type.
+enable_blk_mount: enables guest mounting of the block device.
+
+[netmon]
+enable_netmon: enables network monitoring. The default value is false.
+path: specifies the kata-netmon running path.
+enable_debug: enables netmon debugging. The default value is false.
+
+[runtime]
+enable_debug: enables runtime debugging. The default value is false.
+enable_cpu_memory_hotplug: enables CPU and memory hot swap. The default value is false.
+internetworking_model: specifies the network interconnection mode between VMs and containers.
+disable_guest_seccomp: disables the seccemp security mechanism in the guest application. The default value is true.
+enable_tracing: enables runtime opentracing. The default value is false.
+disable_new_netns: disables network namespace creation for the shim and hypervisor processes. The default value is false.
+experimental: enables the experimental feature, which does not support user-defined configurations.
+```
+
+## APIs
**Table 1** Commands related to the kata-runtime network
diff --git a/content/en/docs/Container/appendix-23.md b/content/en/docs/Container/appendix-23.md
deleted file mode 100644
index 2719ae844cf8879b9743cd41cc28091e9d6189f7..0000000000000000000000000000000000000000
--- a/content/en/docs/Container/appendix-23.md
+++ /dev/null
@@ -1,2 +0,0 @@
-# Appendix
-
diff --git a/content/en/docs/Container/appendix-30.md b/content/en/docs/Container/appendix-30.md
deleted file mode 100644
index 98ea83c33ee017b3fe63c8c006e7f73e38ac4a9c..0000000000000000000000000000000000000000
--- a/content/en/docs/Container/appendix-30.md
+++ /dev/null
@@ -1 +0,0 @@
-# Appendix
diff --git a/content/en/docs/Container/appendix.md b/content/en/docs/Container/appendix.md
index 4e5d65d79526d421deed273c0817f6a635f70ea6..eae445ef363dee1bdff53655cf276259a7500811 100644
--- a/content/en/docs/Container/appendix.md
+++ b/content/en/docs/Container/appendix.md
@@ -1 +1,713 @@
-# Appendix
+# Appendix
+- [Appendix](#appendix)
+ - [Command Line Parameters](#command-line-parameters)
+ - [CNI Parameters](#cni-parameters)
+
+## Command Line Parameters
+
+**Table 1** login command parameters
+
+
+
|
---|