sunhat/install/docker.sh
David Heinemeier Hansson 8353d5986e First
2024-05-25 13:52:00 -07:00

8 lines
357 B
Bash

DOCKER_COMPOSE_VERSION="2.27.0"
sudo usermod -aG docker ${USER}
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
mkdir -p $DOCKER_CONFIG/cli-plugins
curl -SL https://github.com/docker/compose/releases/download/v$DOCKER_COMPOSE_VERSION/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose