Created
October 16, 2023 23:00
-
-
Save tk42/9a2cb53ec1fac6d76c2e2e17bf1a7a13 to your computer and use it in GitHub Desktop.
Added docker-compose alias in a Container-Optimized instance on VM
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 --rm \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v "$(pwd):$(pwd)" \ | |
-w "$(pwd)" \ | |
docker compose' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment