-
Notifications
You must be signed in to change notification settings - Fork 21
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
Comments
Does your custom genconf dir include an IP detect script which points to the eth1 instead of eth0?
… Am 24.07.2019 um 20:57 schrieb sarathkumar ***@***.***>:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
https://minidcos.readthedocs.io/en/latest/dcos-docker-cli.html#using-a-custom-docker-network
You need to use the IP detect script presented here.
… Am 24.07.2019 um 20:57 schrieb sarathkumar ***@***.***>:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Given your setup you may need to change the script to eth4 though.
… Am 24.07.2019 um 20:57 schrieb sarathkumar ***@***.***>:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@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. |
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
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
The text was updated successfully, but these errors were encountered: