Skip to content

Instantly share code, notes, and snippets.

@lkurzyniec
Created October 1, 2020 10:23
Show Gist options
  • Save lkurzyniec/25b73449d706803be969863cc1d3251b to your computer and use it in GitHub Desktop.
Save lkurzyniec/25b73449d706803be969863cc1d3251b to your computer and use it in GitHub Desktop.
some docker commands
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