Created
September 4, 2017 11:50
-
-
Save qoomon/c82511001742e599cd66b94f8dca9b2e to your computer and use it in GitHub Desktop.
docker-compose as docker container alias
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
alias docker-compose='docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v "${PWD}":"${PWD}" --workdir="$(pwd)" docker/compose' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment