FreeKB - Docker install docker-compose on Linux
Docker - install docker-compose on Linux

Go to https://github.com/docker/compose/releases to determine the lastest stable version of docker compose. Let's say the latest stable version is 1.25.4.

Move into the directory where you want the docker-compose file to reside.

cd /usr/local/bin

 

Use the wget command to download the docker-compose CLI.

wget "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname -s)-$(uname -m)"

 

The docker-compose CLI will probably be named docker-compose-Linux-x86_64. Rename the CLI to docker-compose.

mv docker-compose-Linux-x86_64 docker-compose

 

Give docker-compose execute permission.

chmod +x docker-compose

 

You should now be able to use the docker-compose command.

~]# docker-compose --version
docker-compose version 1.25.4, build 8d51620a

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 45b1f in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |