diff --git a/docs/en/guide/docker/docker_build.md b/docs/en/guide/docker/docker_build.md index b83afcb240..b1379335e0 100644 --- a/docs/en/guide/docker/docker_build.md +++ b/docs/en/guide/docker/docker_build.md @@ -22,7 +22,7 @@ curl -L https://raw.githubusercontent.com/oneclickvirt/docker/main/scripts/onedo ### Example -Running the supported variables are as follows (hard disk size can be set in this block only if the support for limiting the hard disk size was selected during the previous installation) +Running the supported variables are as follows ``` ./onedocker.sh name cpu memory password sshport startport endport @@ -39,6 +39,12 @@ Currently, the system only supports selecting: with Debian being the default choice. +The hard disk size can only be set by filling in the value if you have selected the option to support limiting the hard disk size during the previous Docker installation, it is not limited when not filled in by default. + +```shell +./onedocker.sh test 1 512 123456 25000 34975 35000 N debian 5 +``` + The following is the information for the created example container: | Attribute | Value | @@ -54,10 +60,6 @@ The following is the information for the created example container: | Whether to bind a separate IPV6 address| N | | Disk Size | 5G | -```shell -./onedocker.sh test 1 512 123456 25000 34975 35000 N debian 5 -``` - ### Related operations Deleting the test container diff --git a/docs/guide/docker/docker_build.md b/docs/guide/docker/docker_build.md index 2a7eec103b..f2882c74fe 100644 --- a/docs/guide/docker/docker_build.md +++ b/docs/guide/docker/docker_build.md @@ -28,9 +28,9 @@ curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt ### 示例 -运行支持的变量如下(硬盘大小仅在前面安装时选择了支持限制硬盘大小的,这块才可设置硬盘大小) +运行支持的变量如下 -``` +```bash ./onedocker.sh name cpu memory password sshport startport endport ``` @@ -45,6 +45,8 @@ curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt 默认不填则是debian +硬盘大小仅在前面Docker安装时选择了支持限制硬盘大小的选项,这块才可填写数值设置硬盘大小,默认不填时不限制 + ```shell ./onedocker.sh test 1 512 123456 25000 34975 35000 N debian 5 ```