Skip to content

Instantly share code, notes, and snippets.

@kamuridesu
Last active October 25, 2024 20:24
Show Gist options
  • Select an option

  • Save kamuridesu/d8be27b388f54c221a2889e7a94943c3 to your computer and use it in GitHub Desktop.

Select an option

Save kamuridesu/d8be27b388f54c221a2889e7a94943c3 to your computer and use it in GitHub Desktop.
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
mkdir -p $DOCKER_CONFIG/cli-plugins
ARCH=$(uname -a | awk '{print $(NF-1)}')
curl -SL https://github.com/docker/compose/releases/download/v2.29.6/docker-compose-linux-$ARCH -o $DOCKER_CONFIG/cli-plugins/docker-compose
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose
echo "DONE!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment