Skip to content

Instantly share code, notes, and snippets.

@olekhy
Created August 24, 2019 18:20
Show Gist options
  • Save olekhy/1076f03b558680011a6870d5ac3c4539 to your computer and use it in GitHub Desktop.
Save olekhy/1076f03b558680011a6870d5ac3c4539 to your computer and use it in GitHub Desktop.
how to run docker compose on system where its not possible to install one fe google cloud
echo alias docker-compose="'"'docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
-v "$PWD:$PWD" \
-w="$PWD" \
docker/compose:1.24.0'"'" >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment