How to Install Docker Compose Offline ?
Nov 9, 2022
How do we activate docker compose on a server without internet access?Let’s answer this question together.
→ Let’s download the package to a system with an internet connection.
wget https://github.com/docker/compose/releases/download/1.24.0/docker-compose-Linux-x86_64
→ Let’s rename the package.
mv docker-compose-Linux-x86_64 docker-compose
→Let’s copy the package to the offline machine via csp or ssh
→ Let’s copy it to the relevant directory.
mv docker-compose /usr/local/bin/
→Let’s make it workable by giving execute permission to the package.
chmod +x /usr/local/bin/docker-compose
See you in my next post :)