How to Install Compose standalone on Windows
Step 1: Open Powershell
- Open Powershell on your windows system
- and run as an administrator
Step 2: Run the following command
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Step 3 : Now run this command to download specific docker-compose version
Start-BitsTransfer -Source "https://github.com/docker/compose/releases/download/v2.24.5/docker-compose.exe" -Destination $Env:Program Files\Docker\docker-compose.exe
- in the -Source section you can specify the Docker-Compose version which you want to intsall.
- in the -Destination section you can specify the location where you download the file.
- after running this command wait until the downloading process is not completed.
Step 5: Verifying Installation
- After finishing the downloading process.
- Open your command prompt or power shell.
- Run the following command to check the Docker CLI installation.
docker --version
Docker Compose For Windows: Tips And Tricks
Docker is a powerful Container platform that allows you to create containers where you can run, deploy, and develop applications without worrying about different dependencies, services, and limitations of the operating system. The best part is the isolation of the container so you can use this container on different platforms. Now let’s talk about the ecosystem of Docker.
- Docker Engine: It is the core part of Docker which handles the different functionalities of Docker.
- Docker Compose: It is a tool which is provided by Docker used to maintain multi-container-based applications.
- Docker Hub: it is a cloud platform where all the Docker images are stored similar to Git Hub.