Docker Make Install

2/13/2022by admin

For install instructions, see Install Docker Desktop on Windows. Follow these instructions if you are running the Docker daemon and client directly on Microsoft Windows Server and want to install Docker Compose. Start an “elevated” PowerShell (run it as administrator). Search for PowerShell, right-click, and choose Run as administrator. Nov 06, 2017 But how can I make/make install Multicorn within the Docker container? Ideally, I want to keep using the posgres:10.0 and not invent/create my own version, as I don't want to inherit the maintenance hassle.

  • Docker Tutorial

Docker Run Make Install

  • Docker Useful Resources
  • Selected Reading

Docker Compose is used to run multiple containers as a single service. For example, suppose you had an application which required NGNIX and MySQL, you could create one file which would start both the containers as a service without the need to start each one separately.

In this chapter, we will see how to get started with Docker Compose. Then, we will look at how to get a simple service with MySQL and NGNIX up and running using Docker Compose.

Docker Compose ─ Installation

Docker Make Install

Let's see if we can create a docker-compose.yml file for our SF-Foodtrucks app and evaluate whether Docker Compose lives up to its promise. The first step, however, is to install Docker Compose. If you're running Windows or Mac, Docker Compose is already installed as it comes in the Docker Toolbox.

The following steps need to be followed to get Docker Compose up and running.

Step 1 − Download the necessary files from github using the following command −

The above command will download the latest version of Docker Compose which at the time of writing this article is 1.10.0-rc2. It will then store it in the directory /home/demo/.

Step 2 − Next, we need to provide execute privileges to the downloaded Docker Compose file, using the following command −

We can then use the following command to see the compose version.


Docker Yum Install Make


  • version − This is used to specify that we want the details of the version of Docker Compose.



The version details of Docker Compose will be displayed.


The following example shows how to get the docker-compose version.


You will then get the following output −

Creating Your First Docker-Compose File

Now let’s go ahead and create our first Docker Compose file. All Docker Compose files are YAML files. You can create one using the vim editor. So execute the following command to create the compose file −

Let’s take a close look at the various details of this file −

  • The database and web keyword are used to define two separate services. One will be running our mysql database and the other will be our nginx web server.

  • The image keyword is used to specify the image from dockerhub for our mysql and nginx containers

  • For the database, we are using the ports keyword to mention the ports that need to be exposed for mysql.

  • And then, we also specify the environment variables for mysql which are required to run mysql.

Now let’s run our Docker Compose file using the following command −

This command will take the docker-compose.yml file in your local directory and start building the containers.

Docker Make Install Command

Once executed, all the images will start downloading and the containers will start automatically.

And when you do a docker ps, you can see that the containers are indeed up and running.

Docker Alpine Install Make

Comments are closed.