Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 29, 2024. It is now read-only.
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Container networking missing #25

Open
@g4b0

Description

In tutorial 0.7-PHP-Lambda-functions-with-Docker-container-images the created container does not have access to the network.
I did a simple try with gethostbyaddr:

$reverse = gethostbyaddr('51.255.200.41');
return APIResponse("Hello, ". $data['queryStringParameters']['name'] . " - $reverse");

When testing into the local container gethostbyaddr return the IP address, becuause it can't query DNS servers.
Pushing into AWS Lambda works fine.

It would be fine to adjust this tutorial explainig how to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /