[ 
https://issues.apache.org/jira/browse/KARAF-3854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré reassigned KARAF-3854:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> cellar bind docker container host name but not the ip address
> -------------------------------------------------------------
>
>                 Key: KARAF-3854
>                 URL: https://issues.apache.org/jira/browse/KARAF-3854
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-hazelcast
>    Affects Versions: cellar-3.0.3
>            Reporter: ChengRen
>            Assignee: Jean-Baptiste Onofré
>
> When I construct my local cellar cluster using docker container. I create two 
> karaf image like:
> docker run -ti -d -h node1 --name karaf-node1 -v 
> ~/.m2/repository:/root/.m2/repository -d flaviof/karaf
> after attach to it and install cellar(3.0.3) feature, command 'node-list' 
> running result is:
> karaf@root()> node-list
>   | Id               | Host Name   | Port
> -----------------------------------------
> x | node1:5701       | node1       | 5701
>   | 172.17.0.20:5701 | 172.17.0.20 | 5701
> But when I change docker run command with:
>     docker run -ti -d -h 172.17.0.11 --name karaf-node1 -v 
> ~/.m2/repository:/root/.m2/repository -d flaviof/karaf
> where '172.17.0.11' does not exist. And command 'node-list' running result 
> is: 
> karaf@root()> node-list
>   | Id               | Host Name   | Port
> -----------------------------------------
> x | 172.17.0.21:5701 | 172.17.0.21 | 5701
> The last one is what I want.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to