Install docker-compose under CentOS Linux 7

1. Reference

Portal: Install Docker and Docker-compose on CentOS7

2. Questions

  • Domestic downloads occasionally get windy and downloads are particularly slow

3. Solve

  • Source/ portal to download articles
  • Unzip to get two versions and choose the liunx version
  • Upload to /usr/local/bin path via Xftp or other methods
    insert image description here
  • Rename file command via Xshell
mv /usr/local/bin/docker-compose-Linux-x86_64 /usr/local/bin/docker-compose
  • Add executable permission
chmod +x /usr/local/bin/docker-compose
  • View version
docker-compose -v

insert image description here

  • The output version information is a normal installation
write at the end

I am a pure novice, and the blog I wrote was also written because of the problems encountered in learning and use, after searching for materials and solving them. If there are some errors or infringements, please contact me.

QQ: 994961015
Email: [email protected]

Guess you like

Origin blog.csdn.net/qq_37274323/article/details/104627516