内容简介: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.ymlspecification.
This version requires Docker Engine 17.12.0 or above.Added support for the
platformparameter 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_periodandcpu_rt_runtimeparameters
in service definitions (2.x only).
Compose file version 2.1 and up
Added support for the
cpu_periodparameter in service definitions
(2.x only).Added support for the
isolationparameter in service build configurations.
Additionally, theisolationparameter is used for builds as well if nobuild.isolationparameter is defined. (2.x only)
All formats
Added support for the
--workdirflag indocker-compose exec.Added support for the
--compressflag indocker-compose build.docker-compose pullis now performed in parallel by default. You can
opt out using the--no-parallelflag. The--parallelflag is now
deprecated and will be removed in a future version.Dashes and underscores in project names are no longer stripped out.
docker-compose buildnow 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 configto
generate TLS flags forexecandruncommands.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]
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- Docker 容器编排实践练习
- Kubernetes容器编排的三大支柱
- [译] 容器编排的优势与特点
- 1.09 容器编排Kubernetes
- Docker 多容器编排Swarm(六)
- Kubernetes 1.11.0 发布,容器编排工具
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
深入理解Java虚拟机
周志明 / 机械工业出版社 / 2011-6 / 69.00元
《深入理解Java虚拟机:JVM高级特性与最佳实践》内容简介:作为一位Java程序员,你是否也曾经想深入理解Java虚拟机,但是却被它的复杂和深奥拒之门外?没关系,本书极尽化繁为简之妙,能带领你在轻松中领略Java虚拟机的奥秘。本书是近年来国内出版的唯一一本与Java虚拟机相关的专著,也是唯一一本同时从核心理论和实际运用这两个角度去探讨Java虚拟机的著作,不仅理论分析得透彻,而且书中包含的典型案......一起来看看 《深入理解Java虚拟机》 这本书的介绍吧!