docker-compose 1.26.0 发布
Posted teamlet
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker-compose 1.26.0 发布相关的知识,希望对你有一定的参考价值。
一、发布说明
1、Features
- Added docker context support.
- Added missing test dependency ddt to setup.py.
- Added --attach-dependencies to command up for attaching to dependencies.
- Allowed compatibility option with COMPOSE_COMPATIBILITY environment variable.
- Bumped Pytest to 5.3.4 and add refactor compatibility with new version.
- Bumped OpenSSL from 1.1.1f to 1.1.1g.
- Bumped certifi from 2019.11.28 to 2020.4.5.1.
- Bumped docker-py from 4.2.0 to 4.2.1.
2、Bug fixes
- Properly escaped values coming from env_files.
- Synchronized compose-schemas with upstream (docker/cli).
- Removed None entries on exec command.
- Added distro package to get distro information.
- Added python-dotenv to delegate .env file processing.
- Stopped adjusting output on terminal width when piped into another command.
- Showed an error message when version attribute is malformed.
- Fixed HTTPS connection when DOCKER_HOST is remote.
二、 安装方法
1、二进制安装
sudo curl -L https://github.com/docker/compose/releases/download/1.26.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
2、配置权限
sudo chmod +x /usr/local/bin/docker-compose
3、查看版本
docker-compose --version
以上是关于docker-compose 1.26.0 发布的主要内容,如果未能解决你的问题,请参考以下文章
Atom 1.25.0 和 1.26.0 beta0 发布,文本编辑器
“docker-compose”命令为 docker-compose.yml 文件设置路径
Docker-compose:/usr/local/bin/docker-compose:第 1 行:Not:找不到命令