Created
October 1, 2020 10:23
-
-
Save lkurzyniec/25b73449d706803be969863cc1d3251b to your computer and use it in GitHub Desktop.
some docker commands
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
docker build -f src/happycode.Configurations.Api/Dockerfile -t configurations-api:dev . | |
docker run -d -e AWS_ACCESS_KEY_ID=ABC123 -e AWS_SECRET_ACCESS_KEY=abcde12345 -e AWS_DEFAULT_REGION=us-east-1 -p 5001:80 configurations-api:dev | |
powershell docker container stop $(docker container ls -a -q) | |
powershell docker container rm $(docker container ls -a -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment