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

Vue implements a simple calculator

This article example shares the specific code of ...

JS implementation of Apple calculator

This article example shares the specific code of ...

How to prevent hyperlink redirection using JavaScript (multiple ways of writing)

Through JavaScript, we can prevent hyperlinks fro...

Code for aligning form checkbox and radio text

Alignment issues like type="radio" and t...

4 Practical Tips for Web Page Design

Related articles: 9 practical tips for creating we...

Version numbers in css and js links in HTML (refresh cache)

background Search the keyword .htaccess cache in ...

Some ways to solve the problem of Jenkins integrated docker plugin

Table of contents background Question 1 Error 2 E...

Implementation of running SQL Server using Docker

Now .net core is cross-platform, and everyone is ...

In-depth analysis of the Linux kernel macro container_of

1. As mentioned above I saw this macro when I was...

vsCode generates vue templates with one click

1. Use the shortcut Ctrl + Shift + P to call out ...

How to create your own Docker image and upload it to Dockerhub

1. First register your own dockerhub account, reg...

VS2019 connects to mysql8.0 database tutorial with pictures and text

1. First, prepare VS2019 and MySQL database. Both...

How to point the target link of a tag to iframe

Copy code The code is as follows: <iframe id=&...

How to set up swap partition SWAP in Linux 7.7

The Swap partition of the Linux system, that is, ...