Query AWS metadata service within an EC2 instance to get info about said instance's self.
See: https://aws.amazon.com/code/1825
docker run -it peopleperhour/ec2metadata --all
For more info to get specific info there is help
docker run -it peopleperhour/ec2metadata help
make
This images uses Alpine, https://github.com/gliderlabs/docker-alpine, a small footprint Docker OS with a basic package manager in order to get a small image that would contain bash and curl. The final image should be ~9 MB.
This is an automated build so I chose to not use gliderlabs/alpine:latest but resorted in stable 3.1 tag.
Content type
Image
Digest
sha256:b4c9c19bd…
Size
3.9 MB
Last updated
over 7 years ago
docker pull peopleperhour/ec2-metadata