From 16bbaa108927fb7ca99c6f0e287a5da9f32871f9 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Thu, 24 Aug 2023 02:10:10 +0000 Subject: [PATCH] update --- docs/en_US/guide/docker_precheck.md | 10 +++++----- docs/guide/docker_precheck.md | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/en_US/guide/docker_precheck.md b/docs/en_US/guide/docker_precheck.md index 4f42527bd0..bd3441203a 100644 --- a/docs/en_US/guide/docker_precheck.md +++ b/docs/en_US/guide/docker_precheck.md @@ -4,15 +4,15 @@ The following is an introduction to the non-customized sections. Please ensure t ## Project Highlights -This project involves bulk or individual provisioning of NAT servers using Docker containers. +Bulk or individual NAT server provisioning via docker -The default operating system used is Debian. Each container comes with one external SSH port and 25 consistent internal and external ports. +Default use of debian system optional alpine system, each container comes with 1 external ssh port, 25 internal and external network consistent ports -The containers created by default are non-privileged and do not establish communication between the Docker daemon on the host and the containers. As a result, **containers nested within Docker virtualized NAT servers on the host will not function**. +The default creation of unprivileged containers, and does not mount and host docker daemon communication, so ** host created docker virtualization NAT server can not be nested within the virtualization of docker ** -Due to CPU and memory limitations set on the host without utilizing cgroup drivers within containers, any server testing scripts run inside containers to assess available resources will be ineffective. The displayed resources will reflect those of the host. +Since the CPU and memory limits are only applied to the host and the cgroup driver is not used in the container, using the server test script to detect the available resources of the container will not be effective, and the resources displayed will be those of the host. -Since the majority of cloud servers do not enable the 'pquota' option for the XFS file system, the **default configuration involves sharing the host's hard drive, thus preventing the restriction of individual container disk sizes**. +Since most cloud servers have ext4 filesystems, even xfs filesystems do not enable the pquota option, so **sharing the host's hard disk by default does not limit the disk size of each container**. ## Configuration Requirements diff --git a/docs/guide/docker_precheck.md b/docs/guide/docker_precheck.md index feba521cbd..4113e1dc2f 100644 --- a/docs/guide/docker_precheck.md +++ b/docs/guide/docker_precheck.md @@ -10,13 +10,13 @@ outline: deep 通过docker批量或单独开设NAT服务器(Bulk or individual NAT server provisioning via docker) -默认使用debian系统,每个容器自带1个外网ssh端口,25个内外网一致端口 +默认使用debian系统可选alpine系统,每个容器自带1个外网ssh端口,25个内外网一致端口 默认创建的是非特权容器,且不挂载与宿主机的docker的守护进程之间的通信,所以**宿主机创建的docker虚拟化的NAT服务器内无法再嵌套虚拟化docker** 由于只是在宿主机进行了CPU和内存的限制未在容器内使用cgroup驱动,所以在容器内使用服务器测试脚本检测容器的可用资源是无效的,显示的会是宿主机的资源 -由于大部分云服务器xfs文件系统不启用pquota选项,所以**默认共享宿主机硬盘,无法限制每个容器的磁盘大小** +由于大部分云服务器是ext4文件系统,即便是xfs文件系统也不会启用pquota选项,所以**默认共享宿主机硬盘,无法限制每个容器的磁盘大小** ## 配置要求