Skip to content

Commit

Permalink
Add compose v2
Browse files Browse the repository at this point in the history
Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
  • Loading branch information
khs1994 committed Jun 12, 2021
1 parent 330beb4 commit 985e295
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vuepress/config.js
Expand Up @@ -186,6 +186,7 @@ module.exports = config({
],
'/compose/': [
'introduction',
'v2',
'install',
'usage',
'commands',
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,8 @@

* 1.3.0 2021-YY-DD
* 全面支持 Docker v20.10 新版本
* 新增 Docker Compose v2
* Docker Hub 自动构建转为付费功能

* 1.2.0 2020-12-20
* 错误修复
Expand Down
1 change: 1 addition & 0 deletions SUMMARY.md
Expand Up @@ -82,6 +82,7 @@
* [使用 buildx 构建多种系统架构支持的 Docker 镜像](buildx/multi-arch-images.md)
* [Docker Compose](compose/README.md)
* [简介](compose/introduction.md)
* [Compose v2](compose/v2.md)
* [安装与卸载](compose/install.md)
* [使用](compose/usage.md)
* [命令说明](compose/commands.md)
Expand Down
7 changes: 7 additions & 0 deletions compose/v2.md
@@ -0,0 +1,7 @@
# Compose V2

目前 Docker 官方用 GO 语言 [重写](https://github.com/docker/compose-cli) 了 Docker Compose,并将其作为了 docker cli 的子命令,称为 `Compose V2`。你可以参照官方文档安装,然后将熟悉的 `docker-compose` 命令替换为 `docker compose`,即可使用 Docker Compose。

## 官方文档

* [Compose V2 beta](https://docs.docker.com/compose/cli-command/)
2 changes: 2 additions & 0 deletions repository/dockerhub.md
Expand Up @@ -75,6 +75,8 @@ username/ubuntu

## 自动构建

> 2021 6 18 日之后该项功能仅限[付费用户](https://www.docker.com/blog/changes-to-docker-hub-autobuilds/)使用。

自动构建`Automated Builds`功能对于需要经常升级镜像内程序来说十分方便

有时候用户构建了镜像安装了某个软件当软件发布新版本则需要手动更新镜像
Expand Down

0 comments on commit 985e295

Please sign in to comment.