Skip to content

Localstack is starting with random ports #60

@igorvtorres

Description

@igorvtorres

When I start Localstack container, its start with random port as screenshot

image

Its because the framework is setting None to ports when start the container
image

Could you fix to pass the port that I have set in dict services?
ports={port: port for port in self.services.values()}

Or maybe create a function to that return the current port after localstack started?

I need that because I am using the localstack with spark and I need to set the end point configuration

spark_session.conf.set("spark.hadoop.fs.s3a.endpoint", "http://localhost.localstack.cloud:4566")

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