Skip to content

Commit 5eed72a

Browse files
committed
Fix missing files
1 parent 6bba226 commit 5eed72a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

appendix/best_practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
应该保证在一个容器中只运行一个进程。将多个应用解耦到不同容器中,保证了容器的横向扩展和复用。例如 web 应用应该包含三个容器:web应用、数据库、缓存。
2626

27-
如果容器互相依赖,你可以使用 [Docker 自定义网络](../network/linking.md) 来把这些容器连接起来。
27+
如果容器互相依赖,你可以使用 [Docker 自定义网络](../network/README.md) 来把这些容器连接起来。
2828

2929
### 镜像层数尽可能少
3030

compose/install.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Linux 系统请使用以下介绍的方法安装。
2323
```bash
2424
$ DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
2525
$ mkdir -p $DOCKER_CONFIG/cli-plugins
26-
$ curl -SL https://github.com/docker/compose/releases/download/v5.0.1/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose
26+
$ curl -SL https://github.com/docker/compose/releases/download/v2.40.3/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose
2727
```
2828

2929
之后,执行
@@ -36,13 +36,13 @@ $ chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose
3636

3737
```bash
3838
$ docker compose version
39-
Docker Compose version v5.0.1
39+
Docker Compose version v2.40.3
4040
```
4141

4242
## bash 补全命令
4343

4444
```bash
45-
$ curl -L https://raw.githubusercontent.com/docker/compose/v5.0.1/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose
45+
$ curl -L https://raw.githubusercontent.com/docker/compose/v2.40.3/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose
4646
```
4747

4848
## 卸载

0 commit comments

Comments
 (0)