Docker Compose 1.21.0 发布,多容器应用编排

栏目: 软件资讯 · 发布时间: 7年前

内容简介:Docker Compose 1.21.0 已发布,获取地址:https://www.docker.com/products/docker 新版本带来了一些新特性,以及 bug 修复: Compose file version 2.4 Introduced version 2.4 of the docker-compose.yml s...

Docker Compose 1.21.0 已发布,获取地址:https://www.docker.com/products/docker

新版本带来了一些新特性,以及 bug 修复:

Compose file version 2.4

  • Introduced version 2.4 of the docker-compose.yml specification.
    This version requires Docker Engine 17.12.0 or above.

  • Added support for the platform parameter in service definitions.
    If supplied, the parameter is also used when performing build for the
    service.

Compose file version 2.2 and up

  • Added support for the cpu_rt_period and cpu_rt_runtime parameters
    in service definitions (2.x only).

Compose file version 2.1 and up

  • Added support for the cpu_period parameter in service definitions
    (2.x only).

  • Added support for the isolation parameter in service build configurations.
    Additionally, the isolation parameter is used for builds as well if no
    build.isolation parameter is defined. (2.x only)

All formats

  • Added support for the --workdir flag in docker-compose exec.

  • Added support for the --compress flag in docker-compose build.

  • docker-compose pull is now performed in parallel by default. You can
    opt out using the --no-parallel flag. The --parallel flag is now
    deprecated and will be removed in a future version.

  • Dashes and underscores in project names are no longer stripped out.

  • docker-compose build now supports the use of Dockerfile from outside
    the build context.

Bugfixes

  • Compose now checks that the volume's configuration matches the remote
    volume, and errors out if a mismatch is detected.

  • Fixed a bug that caused Compose to raise unexpected errors when attempting
    to create several one-off containers in parallel.

  • Fixed a bug with argument parsing when using docker-machine config to
    generate TLS flags for exec and run commands.

  • Fixed a bug where variable substitution with an empty default value
    (e.g. ${VAR:-}) would print an incorrect warning.

  • Improved resilience when encoding of the Compose file doesn't match the
    system's. Users are encouraged to use UTF-8 when possible.

  • Fixed a bug where external overlay networks in Swarm would be incorrectly
    recognized as inexistent by Compose, interrupting otherwise valid
    operations.

源码下载和发布说明:https://github.com/docker/compose/releases/tag/1.21.0


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

不是为了快乐

不是为了快乐

宗萨蒋扬钦哲仁波切 / 姚仁喜 / 深圳报业集团出版社 / 2013-1 / 38.00元

前行修持是一套完整的实修系统,它既是一切佛法修持的根基,又囊括了所有修持的精华,以及心灵之道上所需的一切;既适合入门者打造学佛基本功,也是修行人需要终生修持的心法。书中除了实际的方法指导之外,还不断启发佛法的珍贵与修持的必要,并处处可见对学佛者的鼓舞和纠正,其最终的用心,是让我们踏上不间断的修持之路,真正转化我们僵硬、散乱和困惑的心。 在现代人看来,快乐,理应是最值得追求的目标。我们希望生活......一起来看看 《不是为了快乐》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具