Skip to content

Instantly share code, notes, and snippets.

@a-h
Created November 2, 2018 11:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a-h/c786049d214d0592c1be24e410ae5f62 to your computer and use it in GitHub Desktop.
Save a-h/c786049d214d0592c1be24e410ae5f62 to your computer and use it in GitHub Desktop.
Running AWS Scout in a Docker container
docker build -t scout .
FROM python:3.7-alpine3.7
RUN pip install awsscout2
VOLUME ["/report"]
CMD /usr/local/bin/Scout2 --report-dir /report
docker run -e AWS_ACCESS_KEY_ID=YOUR_KEY \
-e AWS_SECRET_ACCESS_KEY=YOUR_SECRET \
-v=$PWD:/report --rm scout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment