ubuntu - 错误 : The Docker Engine version is less than the minimum required by Compose

标签 ubuntu docker docker-compose

在 Ubuntu 上安装了 docker 和 compose 一天后,还是不行。

现在,当尝试运行 docker-compose 时,我得到以下信息:

ERROR: The Docker Engine version is less than the minimum required by Compose. Your current project requires a Docker Engine of version 1.10.0 or greater.

安装版

$ docker version
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   a34a1d5
 Built:        Fri Nov 20 17:56:04 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   a34a1d5
 Built:        Fri Nov 20 17:56:04 UTC 2015
 OS/Arch:      linux/amd64

有什么办法解决这个问题吗?

最佳答案

您需要运行该 docker 版本的原因是什么?它目前落后 2 个版本,因为 1.11.1 现已发布。

如果由于某种原因无法升级,那么需要将docker compose版本降级到支持1.9.1的版本

您可以从这里下载 compose 1.6.2 https://github.com/docker/compose/releases/tag/1.6.2与 docker 1.9.1 兼容

关于ubuntu - 错误 : The Docker Engine version is less than the minimum required by Compose,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36937897/

相关文章:

regex - 批量重命名目录名称

ubuntu - Clang 格式给出错误

java - 如何使用snakeyaml从yaml文件中读取顶级HashMap?

python - 安装python3-dev时出现的问题

python - 安装一半的包和python循环依赖

docker - 连接期间出错 : This error may indicate that the docker daemon is not running

nginx - 使用 logrotate 容器化 nginx 日志轮换

python - 云构建步骤中的云运行集成测试?

docker - 将 Docker 容器 IP 添加到主机/etc/host

docker本地卷名的无效字符