Wednesday 24 February 2016

Installing docker-compose on ubuntu

 How to install docker-compose

After installing docker let's install docker-compose. First, download the docker-compose package by running the following command

 curl -L https://github.com/docker/compose/releases/download/1.6.2/docker-compose-Linux-x86_64 > /tmp/docker-compose

This is for linux/ubuntu you can grab a link from https://github.com/docker/compose/releases and replace it with the one in the command above

After downloading it, make the file executable

chmod +x /tmp/docker-compose

Now, move the file to /usr/local/bin/

sudo mv /tmp/docker-compose /usr/local/bin/

Now we have docker-compose, let's check out the version

docker-compose --version

It should output something as below


docker-compose version 1.6.2, build 4d72027



0 comments:

Post a Comment

 

Copyright @ 2013 Appychip.

Designed by Appychip & YouTube Channel