Last active
March 20, 2018 08:13
-
-
Save agbaraka/f2082023cf5c9bfd3fa0d4276fbf95a4 to your computer and use it in GitHub Desktop.
Adding Docker Compose in CoreOS using Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function docker-compose() { | |
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v "$PWD:/rootfs/$PWD" -w="/rootfs/$PWD" docker/compose:1.16.1 "$@" | |
} | |
#export docker-compose() to make it available in bash shell and scripts | |
export -f docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment