Skip to content

Commit

Permalink
更新docker compose使用说明
Browse files Browse the repository at this point in the history
  • Loading branch information
Nriver committed Jan 24, 2024
1 parent f7f01cf commit 536bc4e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ wget https://raw.githubusercontent.com/Nriver/trilium-translation/main/docker-co
运行

```
docker-compose up -d
docker compose up -d
```

它会从[Docker Hub](https://hub.docker.com/repository/docker/nriver/trilium-cn)直接拉镜像运行.
Expand All @@ -220,19 +220,19 @@ cd到docker-compose.yml所在目录
先停止trilium

```
docker-compose down
docker compose down
```

拉取最新镜像

```
docker-compose pull
docker compose pull
```

运行

```
docker-compose up -d
docker compose up -d
```

## 服务端 - Linux - 通过AUR安装Linux服务端
Expand Down Expand Up @@ -552,6 +552,8 @@ Docker Compose version 2.17.3

还是不行的话,建议换一个新一点的Linux发行版,软件环境太旧也可能无法运行。

新版本的docker已内置docker-compose,可以用 `docker compose` 代替 `docker-compose` 命令。

---

# 🚚 迁移笔记
Expand Down

0 comments on commit 536bc4e

Please sign in to comment.