Question:
Start downloading
curl -L ” https://github.com/docker/compose/releases/download/1.25.0/docker-compose- $(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose
function
docker-compose –version
report errors
Cannot open self /usr/local/bin/docker-compose or archive /usr/local/bin/docker-compose.pkg
reason:
Find out that the downloaded files are missing due to the network
Solution:
Download the source file from GitHub on the local machine, and then upload it to the Linux server