在Docker上点燃

时间:2016-06-14 11:03:59

标签: docker ignite

在Docker(docker run -it --net=host --expose=8098 -p 47100:8098 [other options] apacheignite/ignite-docker)上,我启动了点火节点(服务器模式),并在此节点上创建了缓存(复制)。

现在来自Intelij Idea我创建了另一个点燃节点(客户端模式),我想连接(找到)docker上的节点,用于获取已经创建的缓存。

  

注意:docker配置为使用IP 192.168.99.100

的默认计算机

On Ignitation start会导致'连接失败'错误。

我的IntelliJ Ignite配置是:

 <property name="discoverySpi">
                <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                    <property name="localPort" value="47100"/>
                    <!-- Setting up IP finder for this cluster -->
                    <property name="ipFinder">
                        <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder">
                            <property name="shared" value="true"/>
                            <property name="addresses">
                                <list>
                                    <!--
                                        Addresses and port range of the nodes from the first
                                        cluster.
                                        127.0.0.1 can be replaced with actual IP addresses or
                                        host names. Port range is optional.
                                    -->
                                    <value>192.168.99.100:8098</value>
                                </list>
                            </property>
                        </bean>
                    </property>
                </bean>
            </property>

1 个答案:

答案 0 :(得分:2)

如果您想访问通过this.canvas.clipTo = null; // Prevents fire of clipTo function at every event. 打开的端口:

docker run
相关问题