From 4e1f62f8bd89cc4839257c65e5ae8340807243a1 Mon Sep 17 00:00:00 2001 From: wangchuanguo Date: Fri, 1 Sep 2023 19:28:20 +0800 Subject: [PATCH] add illustration in README for create-docker.sh Signed-off-by: wangchuanguo --- README.en.md | 8 ++++++++ README.md | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/README.en.md b/README.en.md index 803c613..4ba9de0 100644 --- a/README.en.md +++ b/README.en.md @@ -24,6 +24,14 @@ Supported image types: ISO, liveISO, qcow2, container, initrd can be used as ram set param in qcow2.conf; sh create-qcow2.sh 2. docker +To create a default base image, you can use the following command: +sh create docker.sh + +To create a base image and add two software packages, vim enhanced and dhcp server, you can use the following command: +sh create docker sh - p vim enhanced - p dhcp server + +To create a base image and add group: file server, as well as Python 36 and Python 38, you can use the following command: +sh create docker.sh - g file server - g python36- g python38 3. liveISO #### Contribution diff --git a/README.md b/README.md index 2bc70c1..9ddcd85 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,12 @@ 在qcow2.conf中配置可修改参数; sh create-qcow2.sh 2. docker +希望创建默认base image,可以使用如下命令: +sh create-docker.sh +希望创建base image,并增加vim-enhanced 和 dhcp-server 两个软件包,可以使用如下命令: +sh create-docker.sh -p vim-enhanced -p dhcp-server +希望创建base image,并增加group: file-server, 同时增加python36和python38,可以使用如下命令: +sh create-docker.sh -g file-server -g python36 -g python38 3. liveISO #### 参与贡献 -- Gitee