docs: docker-compose changed to docker compose

This commit is contained in:
pycook 2024-03-29 13:27:23 +08:00
parent 8f74be216e
commit 9793734655
2 changed files with 6 additions and 6 deletions

View File

@ -74,17 +74,17 @@
### Docker 一键快速构建 ### Docker 一键快速构建
> 方法一 > 方法一
- 第一步: 先安装 docker 环境, 以及docker-compose - 第一步: 先安装 Docker 环境, 以及Docker Compose (v2)
- 第二步: 拷贝项目 - 第二步: 拷贝项目
```shell ```shell
git clone https://github.com/veops/cmdb.git git clone https://github.com/veops/cmdb.git
``` ```
- 第三步:进入主目录,执行: - 第三步:进入主目录,执行:
``` ```
docker-compose up -d docker compose up -d
``` ```
> 方法二, 该方法适用于linux系统 > 方法二, 该方法适用于linux系统
- 第一步: 先安装 docker 环境, 以及docker-compose - 第一步: 先安装 Docker 环境, 以及Docker Compose (v2)
- 第二步: 直接使用项目根目录下的install.sh 文件进行 `安装`、`启动`、`暂停`、`查状态`、`删除`、`卸载` - 第二步: 直接使用项目根目录下的install.sh 文件进行 `安装`、`启动`、`暂停`、`查状态`、`删除`、`卸载`
```shell ```shell
curl -so install.sh https://raw.githubusercontent.com/veops/cmdb/master/install.sh curl -so install.sh https://raw.githubusercontent.com/veops/cmdb/master/install.sh

View File

@ -69,17 +69,17 @@
### One-Click Docker Quick Build ### One-Click Docker Quick Build
> Method 1 > Method 1
- step 1: **Prepare: install docker and docker-compose** - step 1: **Prepare: install Docker and Docker Compose (v2)**
- step 2: copy the repository - step 2: copy the repository
```shell ```shell
git clone https://github.com/veops/cmdb.git git clone https://github.com/veops/cmdb.git
``` ```
- step 3: In directory cmdb: - step 3: In directory cmdb:
``` ```
docker-compose up -d docker compose up -d
``` ```
> Method 2 Usefull for linux os. > Method 2 Usefull for linux os.
- step 1: **Prepare: install docker and docker-compose** - step 1: **Prepare: install Docker and Docker Compose (v2)**
- step 2: directly use the install.sh file in the project's root directory to `install`, `start`, `pause`, `status`, `delete`, and `uninstall` the application. - step 2: directly use the install.sh file in the project's root directory to `install`, `start`, `pause`, `status`, `delete`, and `uninstall` the application.
```shell ```shell
curl -so install.sh https://raw.githubusercontent.com/veops/cmdb/master/install.sh curl -so install.sh https://raw.githubusercontent.com/veops/cmdb/master/install.sh