Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata
cat << 'EOF' >docker_compose_latest.sh
#!/bin/bash
VNUM="$(curl https://github.com/docker/compose/releases/latest | egrep -o "([0-9]{1,}\.)+[0-9]{1,}")"
curl -L "https://github.com/docker/compose/releases/download/$VNUM/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
ln -s /usr/local/bin/docker-compose /usr/bin/
docker-compose --version
echo "Latest --version : $VNUM"
EOF
chmod +x docker_compose_latest.sh
./docker_compose_latest.sh
  • No labels