Skip to content

Instantly share code, notes, and snippets.

@kaperys
Created December 21, 2018 12:01
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 kaperys/740aed187fa6b9f27c1189e440f932cf to your computer and use it in GitHub Desktop.
Save kaperys/740aed187fa6b9f27c1189e440f932cf to your computer and use it in GitHub Desktop.
X-Ray daemon Makefile
.PHONY: xray
xray:
docker run --rm \
--env AWS_ACCESS_KEY_ID=$$(aws configure get aws_access_key_id) \
--env AWS_SECRET_ACCESS_KEY=$$(aws configure get aws_secret_access_key) \
--env AWS_REGION=eu-west-2 \
--name xray-daemon \
--publish 2000:2000/udp \
amazon/aws-xray-daemon -o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment