bpholt / fake-ec2-metadata-service Goto Github PK
View Code? Open in Web Editor NEWSmall app which simulates some of the EC2 Metadata Service
Home Page: https://hub.docker.com/r/bpholt/fake-ec2-metadata-service/
License: MIT License
Small app which simulates some of the EC2 Metadata Service
Home Page: https://hub.docker.com/r/bpholt/fake-ec2-metadata-service/
License: MIT License
Cloning into '/opt/fake-ec2-metadata-service'...
remote: Counting objects: 71, done.
remote: Compressing objects: 100% (45/45), done.
remote: Total 71 (delta 28), reused 65 (delta 22), pack-reused 0
Unpacking objects: 100% (71/71), done.
Checking connectivity... done.
cp: /etc/init.d/fake-ec2-metadata-service: No such file or directory
cp: directory /etc/network/interfaces.d does not exist
/opt/fake-ec2-metadata-service/setup.sh: line 9: /etc/init.d/networking: No such file or directory
/opt/fake-ec2-metadata-service/setup.sh: line 10: ifup: command not found
Network setup failed; loopback interface on 169.254.169.254 not available.
Any ideas?
I also realized a couple days ago that Docker for Mac doesn't support the docker0
bridge, meaning this tool is having a hard time getting the IP address it should be returning for the http://169.254.169.254/latest/meta-data/local-ipv4 response right now.
To fix that in the short term, I plan to look for an environment variable to force the IP address to a specific value, and then set the environment variable when creating the Docker container in which the app runs.
This does not seem to work on my mac. Are there any tricks?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.