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

Hazelcast could work without --net=host? #2

Open
gregbkr opened this issue Sep 25, 2017 · 0 comments
Open

Hazelcast could work without --net=host? #2

gregbkr opened this issue Sep 25, 2017 · 0 comments

Comments

@gregbkr
Copy link

gregbkr commented Sep 25, 2017

Hello,

I crossed your dockerfile in my searches. I tried between two hosts but I can't make it works.
Did you succeed to keep the isolation and have this command works: docker run --rm=true --name hazelcast1 -p 5701:5701 -p 54327:54327/udp -e "MIN_HEAP=256M" -e "MAX_HEAP=256M" -e "GROUP_NAME=test" -e "GROUP_PASS=test_pass" cacciald/hazelcast?
Or did you had to edit IPTable or Routes?

Thank you for your feedback. Good week to you!
Cheers,
Greg.

docker run --rm=true --name hazelcast1 -p 5701:5701 -p 54327:54327/udp -e "MIN_HEAP=256M" -e "MAX_HEAP=256M" -e "GROUP_NAME=test" -e "GROUP_PASS=test_pass" cacciald/hazelcast
Sep 25, 2017 9:04:52 AM com.hazelcast.config.XmlConfigBuilder
INFO: Using configuration file at /opt/hazelcast/hazelcast-conf.xml
Sep 25, 2017 9:04:52 AM com.hazelcast.config.XmlConfigBuilder
INFO: Using configuration file at /opt/hazelcast/hazelcast-conf.xml
Sep 25, 2017 9:04:52 AM com.hazelcast.instance.DefaultAddressPicker
INFO: null [test] [3.2.5] Prefer IPv4 stack is true.
Sep 25, 2017 9:04:52 AM com.hazelcast.instance.DefaultAddressPicker
INFO: null [test] [3.2.5] Picked Address[172.17.0.2]:5701, using socket ServerSocket[addr=/0.0.0.0,localport=5701], bind any local is true
Sep 25, 2017 9:04:52 AM com.hazelcast.system
INFO: [172.17.0.2]:5701 [test] [3.2.5] Hazelcast 3.2.5 (20140814) starting at Address[172.17.0.2]:5701
Sep 25, 2017 9:04:52 AM com.hazelcast.system
INFO: [172.17.0.2]:5701 [test] [3.2.5] Copyright (C) 2008-2014 Hazelcast.com
Sep 25, 2017 9:04:52 AM com.hazelcast.instance.Node
INFO: [172.17.0.2]:5701 [test] [3.2.5] Creating MulticastJoiner
Sep 25, 2017 9:04:52 AM com.hazelcast.core.LifecycleService
INFO: [172.17.0.2]:5701 [test] [3.2.5] Address[172.17.0.2]:5701 is STARTING
Sep 25, 2017 9:04:54 AM com.hazelcast.cluster.MulticastJoiner
INFO: [172.17.0.2]:5701 [test] [3.2.5] 


Members [1] {
	Member [172.17.0.2]:5701 this
}

Sep 25, 2017 9:04:54 AM com.hazelcast.core.LifecycleService
INFO: [172.17.0.2]:5701 [test] [3.2.5] Address[172.17.0.2]:5701 is STARTED
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

1 participant