内容简介:Docker Compose 1.22.0 已发布,Docker Compose 是一个可以简化多容器应用组合的编排工具。通过使用 Compose,你可以在一个配置文件中定义应用的组件,包括容器、配置、连接、卷等,然后你可以通过一个简单的命令...
Docker Compose 1.22.0 已发布,Docker Compose 是一个可以简化多容器应用组合的编排工具。通过使用 Compose,你可以在一个配置文件中定义应用的组件,包括容器、配置、连接、卷等,然后你可以通过一个简单的命令将所有的东西组合并运行。
Docker Compose 属于一个“应用层”的服务,用户可以定义哪个容器组运行哪个应用,它支持动态改变应用,并在需要时扩展。
该版本主要是修复了 bug,还为 Compose format 增加了新特性。
新特性
Compose format version 3.7
Introduced version 3.7 of the
docker-compose.yml
specification.
This version requires Docker Engine 18.06.0 or above.Added support for
rollback_config
in the deploy configurationAdded support for the
init
parameter in service configurationsAdded support for extension fields in service, network, volume, secret,
and config configurations
Compose format version 2.4
Added support for extension fields in service, network,
and volume configurations
Bug 修复
Fixed a bug that prevented deployment with some Compose files when
DOCKER_DEFAULT_PLATFORM
was setCompose will no longer try to create containers or volumes with
invalid starting charactersFixed several bugs that prevented Compose commands from working properly
with containers created with an older version of ComposeFixed an issue with the output of
docker-compose config
with the--compatibility-mode
flag enabled when the source file contains
attachable networksFixed a bug that prevented the
gcloud
credential store from working
properly when used with the Compose binary on UNIXFixed a bug that caused connection errors when trying to operate
over a non-HTTPS TCP connection on WindowsFixed a bug that caused builds to fail on Windows if the Dockerfile
was located in a subdirectory of the build contextFixed an issue that prevented proper parsing of UTF-8 BOM encoded
Compose files on WindowsFixed an issue with handling of the double-wildcard (
**
) pattern in.dockerignore
files when usingdocker-compose build
Fixed a bug that caused auth values in legacy
.dockercfg
files to be ignoreddocker-compose build
will no longer attempt to create image names starting with an invalid character
源码下载 https://github.com/docker/compose/releases/tag/1.22.0
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- Docker Compose 1.22.0-rc2,简化多容器组合的编排工具
- Docker Compose 1.24.0-rc1,简化多容器组合的编排工具
- 聊聊调度和编排
- Docker 容器编排实践练习
- 服务都微了,编排怎么整?
- Kubernetes容器编排的三大支柱
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
随机密码生成器
多种字符组合密码
Base64 编码/解码
Base64 编码/解码