Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Blockchain by (12.7k points)

I have freshly installed Docker community edition on windows because I need to run a hyperledger blockchain locally on my machine. However, even though it was freshly installed the docker-compose version 1.14. I need to have docker-compose 1.8 to run the hyperledger blockchain according to the documentation I got from the hyperledger getting started guide. I searched for ways to update the docker-compose version on windows to docker-compose version 1.8, but I haven't found a solid way to do that. Can someone enlighten me on how to do that?

1 Answer

0 votes
by (29.5k points)
edited by

Run the following command to download Docker Compose, replacing $dockerComposeVersion with the specific version of Compose you want to use:

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

hope this helps

You can even check out the Blockchain Certification Course by Intellipaat to have more knowledge about this topic.

Browse Categories

...