Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jlegate on github.
  • I am jlegate (https://keybase.io/jlegate) on keybase.
  • I have a public key whose fingerprint is 2E78 0FF4 5EA8 FA9C D3E9 372F D0FF AFA5 1E00 E020

To claim this, I am signing this object:

FROM amazonlinux:latest
RUN yum install -y iptables
CMD /bin/bash -c 'while true; do sleep 30; done;'
# Scenario 4 in https://aws.amazon.com/blogs/compute/a-guide-to-locally-testing-containers-with-amazon-ecs-local-endpoints-and-docker-compose/
# Run this container first, a la (NB - the -p 8080:80 is to expose nginx's port 80 as 8080 on my workstation's localhost interface):
# docker run -d -p 8080:80 --name awsvpc --cap-add=NET_ADMIN my-awsvpc
#
# Once it's up, you can run the other containers: