Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker compose v2 install

#Installing Docker Compose V2
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
mkdir -p $DOCKER_CONFIG/cli-plugins
curl -SL https://github.com/docker/compose/releases/download/v2.2.3/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose

#Make it executable
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose

#Check if it works!
docker compose version
 
PREVIOUS NEXT
Tagged: #docker #compose #install
ADD COMMENT
Topic
Name
1+1 =