Coder Social home page Coder Social logo

bpholt / fake-ec2-metadata-service Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 7.0 388 KB

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

Shell 1.86% Scala 98.14%
hacktoberfest

fake-ec2-metadata-service's People

Contributors

bpholt avatar jasonmead avatar mergify[bot] avatar nleeper avatar scala-steward avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fake-ec2-metadata-service's Issues

Host IP Address Resolution doesn't work on Mac

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.

Failure to bind to loopback

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.