Docker – Install & Access Docker Compose from Putty Client

If you are one of them who access the docker machine using putty client, and you want to work with docker-compose, here is what you need to do:

  • Open a putty client accessing the docker machine.
  • Log in as root using command “sudo -i”
  • Execute the following commands to download and install the docker-compose
    • curl -L https://github.com/docker/compose/releases/download/1.6.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
    • chmod +x /usr/local/bin/docker-compose
  • Once done, execute the command “docker-compose –version” to check whether version number is printed.

You could read about Docker-compose on this page.

Ajitesh Kumar
Follow me

Ajitesh Kumar

I have been recently working in the area of Data Science and Machine Learning / Deep Learning. In addition, I am also passionate about various different technologies including programming languages such as Java/JEE, Javascript, Python, R, Julia etc and technologies such as Blockchain, mobile computing, cloud-native technologies, application security, cloud computing platforms, big data etc. I would love to connect with you on Linkedin.
Posted in DevOps. Tagged with .

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.