Giter VIP home page Giter VIP logo

aws-lambda-container-julia's People

Contributors

ramboldio avatar tk3369 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

aws-lambda-container-julia's Issues

Error response from daemon: driver failed programming external connectivity on endpoint

Hey, Tom. Thanks for the awesome tutorial! I've found this package from the YouTube video. I cloned the repo and I tried running the

sudo docker build -t julia-lambda:latest . && sudo docker run -it --rm -p 9000:8080 julia-lambda:latest

The building part seems to work, but when I try to run the run part I get the following error:

docker: Error response from daemon: driver failed programming external connectivity on endpoint silly_goldstine (dd5a05f3ad78ec34509a38283a046e8011c9e852e24171a98f8437e3f792142c):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 9000 -j DNAT --to-destination 172.17.0.2:8000 ! -i docker0: iptables v1.8.7 (nf_tables): unknown option "--dport"
Try `iptables -h' or 'iptables --help' for more information.
 (exit status 2)).

Any idea on what might be going on?

`/var/runtime/bootstrap: Permission Denied`

I was attempting to modify this repo for an internal project, and ran into this issue. I then decided to just build and push up master here. When I attempt to test run the Lambda function on AWS I get the error:

START RequestId: e053eccc-2487-4b5b-891c-a6102b0f9c05 Version: $LATEST
/lambda-entrypoint.sh: line 14: /var/runtime/bootstrap: Permission denied
/lambda-entrypoint.sh: line 14: exec: /var/runtime/bootstrap: cannot execute: Permission denied
END RequestId: e053eccc-2487-4b5b-891c-a6102b0f9c05
REPORT RequestId: e053eccc-2487-4b5b-891c-a6102b0f9c05	Duration: 2.50 ms	Billed Duration: 3 ms	Memory Size: 4096 MB	Max Memory Used: 7 MB	
RequestId: e053eccc-2487-4b5b-891c-a6102b0f9c05 Error: Runtime exited with error: exit status 126
Runtime.ExitError

I've tried to do a chmod +x bootstrap after this in the Dockerfile. Same result ๐Ÿ˜•.

It seems that creating this bootstrap file which does a cd /var/task and runs you script is the correct thing to do according to the documentation.

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.