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

minidcos docker create --network creates clusters with nodes having two bridge networks. #1865

Open
crakensio opened this issue Jul 24, 2019 · 5 comments

Comments

@crakensio
Copy link

crakensio commented Jul 24, 2019

Docker network created with custom network configs.

docker network create -d bridge --internal --subnet=192.170.3.0/24 --ip-range=192.170.3.0/24 --gateway=192.170.3.1 --opt com.docker.network.bridge.name=eth4 cusnet
minidcos command used to create the cluster

minidcos docker create path/dcos_generate_config.sh --network cusnet --cluster-id Clustername --genconf-dir path/custom-genconf

Config: 1 Master, 1 Public , 2 Agent Node.

All the containers are deployed. Each container is associated with default bridge network(docker0) and custom network(cusnet)

DCOS is picking docker0 Network IP for all the containers and not using custom network.

minidcos, version 2019.04.08.1
Docker version 18.06.3-ce, build d7080c1

@timaa2k
Copy link

timaa2k commented Jul 24, 2019 via email

@timaa2k
Copy link

timaa2k commented Jul 24, 2019 via email

@timaa2k
Copy link

timaa2k commented Jul 24, 2019 via email

@crakensio
Copy link
Author

crakensio commented Jul 25, 2019

@timaa2k Thanks but my script does include ip-detect script and I change the network adaptor in the ip-detect script to the network adaptor I mentioned while creating the custom network.

@crakensio
Copy link
Author

Could anyone help me with this issues?

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

2 participants