简体   繁体   English

如何在安装了 Docker 企业版 (EE) 的 Windows Server 2019 机器上安装 Docker Compose?

[英]How can I install Docker Compose on a Windows Server 2019 box that has Docker Enterprise Edition (EE) installed?

I'm trying to install a Bitwarden self-hosted solution.我正在尝试安装 Bitwarden 自托管解决方案。 The instructions here say that I need to install both Docker and Docker Compose.这里的说明说我需要安装 Docker 和 Docker Compose。

How can I install Docker Compose on Windows Server 2019?如何在 Windows Server 2019 上安装 Docker Compose? I don't want to have to install Docker Desktop, which uses Docker Community Edition (CE).我不想安装使用 Docker Community Edition (CE) 的 Docker Desktop。

I am also using windows server 2019, so from the above page I used:我也在使用 windows server 2019,所以从上面的页面我使用了:

Invoke-WebRequest "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\\Docker\\docker-compose.exe Invoke-WebRequest "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\\Docker\\docker-compose.exe

It workded perfectly okay for me它对我来说完全没问题

Do you install docker with docker provider and package on Windows?您是否在 Windows 上使用 docker provider 和 package 安装 docker?

In PowerShell, run the following command to download Docker Compose, replacing $dockerComposeVersion with the specific version of Compose you want to use:在 PowerShell 中,运行以下命令下载 Docker Compose,将 $dockerComposeVersion 替换为您要使用的特定版本的 Compose:

Invoke-WebRequest "https://github.com/docker/compose/releases/download/$dockerComposeVersion/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\docker\docker-compose.exe

You can see releases in https://github.com/docker/compose/releases你可以在https://github.com/docker/compose/releases查看发布

More details:https://docs.docker.com/v17.09/compose/install/#install-compose更多详情:https ://docs.docker.com/v17.09/compose/install/#install-compose

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在运行 Docker EE 的 Windows Server 2019 上运行 Docker Sql Server - How can I run Docker Sql Server on Windows Server 2019 running Docker EE 我已经在 Windows 2019 服务器上安装了 Docker,但我只能从管理 shell 与其交互 - I've installed Docker on Windows 2019 Server, but I can only interact with it from an administrative shell 如何知道redhat中安装的docker是社区版还是企业版? - How to know that docker installed in redhat is community or enterprise edition? Docker EE(企业版)、Docker CE(社区版)和 Docker(自定义支持)之间的确切区别是什么 - What is the exact difference between Docker EE (Enterprise Edition), Docker CE (Community Edition) and Docker (Custom Support) 如何检查是否安装了 docker compose 插件? - How can I check if docker compose plugin is installed? 如何在 Windows 上安装 docker-compose - How to install docker-compose on Windows 如何在Windows 7上安装Docker工具箱 - How can I install docker toolbox on windows 7 在 Windows Server 2019 上安装 Scrapy,在 Docker 容器中运行 - Install Scrapy on Windows Server 2019, running in a Docker container 无法将 Docker Desktop 3.0.0 安装到 Windows Server 2019 DataCenter 上 - Unable to install Docker Desktop 3.0.0 onto Windows Server 2019 DataCenter 无法使用 windows 服务器 2019 上的 docker-compose 解决 docker.host.internal - Unable to resolve docker.host.internal with docker-compose on windows server 2019
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM