osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: host not found when using http4 in docker container


Can  you add a link  to the camel container just like this ?

camel:
image: "camel:0.3.0-SNAPSHOT"
hostname: camel
links:
- "otherHost"
- "zipkin:zipkin.io"


Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem

On Wed, Jun 6, 2018 at 4:40 AM, Tim Dudgeon <tdudgeon.ml@xxxxxxxxx> wrote:

> On 05/06/18 20:40, Robin Vanderhallen wrote:
>
>> Are both containers in the same network in the docker compose file?
>>
> Yes. Both are in the same network environment, but this is not the default
> network.
>
>         networks:
>         - xxx
>
> Tim
>