Docker-Container Orchestration tool compose installation

Source: Internet
Author: User
Tags docker compose

Get ready

First, before using and installing the Docker compose, we should make sure that we have the Docker engine installed.

installation

There are a variety of installation methods on the official website, as we are now using Docker, and personally feel that we should consider the problem in Docker-we will install the Docker-compose in container way.

1. Check the compose of the machine

$ docker-compse--help

"docker-compose" command not found because we have not installed it

2. Install as a container, command as follows

$ curl -L https://github.com/docker/compose/releases/download/1.9.0/run.sh > /usr/local/bin/docker-compose

$ chmod +x /usr/local/bin/docker-compose

We can see that the process of downloading an image to local.

When we are done, we can enter "Docker-compose" and press the TAB key to prompt.

3. We run $ docker-compose --version , we get the following output

OK, our compose is installed:)

Docker-Container Orchestration tool compose installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.