Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what is dockerspark_default network #142

Open
saianger opened this issue Jan 14, 2022 · 4 comments
Open

what is dockerspark_default network #142

saianger opened this issue Jan 14, 2022 · 4 comments

Comments

@saianger
Copy link

Hi,

I cannot start any docker container with network dockerspark_default, can I ask what is this dockerspark_default and where it comes from?

Thanks,
Leo

@saianger
Copy link
Author

I got error msg even if I created the network using below command:
docker network create -d bridge dockerspark_default

The error msg is:
StandaloneAppClient$ClientEndpoint: Failed to connect to master spark-master:7077

@GezimSejdiu
Copy link
Member

Hi @saianger ,

thanks a lot for creating this issue. The dockerspark_default network is coming when docker-compose up -d is executed. See it here: https://docs.docker.com/compose/networking/ as a reference:

When you run docker-compose up, the following happens:

A network called myapp_default is created.
...

If you did run the docker images without docker compose then you should create a network via:

docker network create dockerspark_default

and then use it when linking spark-worker to the master.

Please, do let me know if you still face any issues.

Best regards,
Gezim

@Mhieu14
Copy link

Mhieu14 commented Mar 13, 2022

In my case, it's docker-spark_default, not dockerspark_default.

@humblebyblo
Copy link

also my case , docker network default name is "docker-spark_default" because repo name is "docker-spark"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants