Detailed explanation of the solution to docker-compose being too slow

Detailed explanation of the solution to docker-compose being too slow

There is only one solution, that is to change the source!

The sources from github are basically timed out, so use:

curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

Remember to modify the permissions, otherwise an error will be reported:

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

Last checked version:

docker-compose --version

Version Information

Install docker-compose (domestic high-speed mirror)

Downloading docker-compose from gihub is too slow and cannot be downloaded, so I can only switch to the domestic mirror (daocloud.io) to download.

download

curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.4/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

Modify permissions

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

Check whether the installation is successful

docker-compose -version

This is the end of this article on how to solve the slow speed of docker-compose. For more information about the slow speed of docker-compose, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Implementation of master-slave replication in docker compose deployment
  • Detailed tutorial on deploying Apollo custom environment with docker-compose
  • Tutorial on using Docker Compose to build Confluence
  • Example of using docker compose to build a consul cluster environment
  • Docker Compose one-click ELK deployment method implementation
  • Docker Compose practice and summary

<<:  What does the n after int(n) in MySQL mean?

>>:  5 JavaScript Ways to Flatten Arrays

Recommend

The role and opening of MySQL slow query log

Preface The MySQL slow query log is a type of log...

vue-cli4.5.x quickly builds a project

1. Install vue-cli npm i @vue/cli -g 2. Create a ...

Summary of some tips for bypassing nodejs code execution

Table of contents 1. child_process 2. Command exe...

Several ways to implement CSS height changing with width ratio

[Solution 1: padding implementation] principle: I...

A complete explanation of MySQL high availability architecture: MHA architecture

Table of contents 1. Introduction 2. Composition ...

mysql solves the problem of finding records where two or more fields are NULL

Core code /*-------------------------------- Find...

Detailed explanation of the difference between uniapp and vue

Table of contents 1. Simple page example 2.uni-ap...

Detailed explanation of SSH password-free login configuration under Linux

Assume there are two Linux servers A and B, and w...

The submit event of the form does not respond

1. Problem description <br />When JS is use...

Blog Design Web Design Debut

The first web page I designed is as follows: I ha...