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

Re: Gear links and REST API documentation



On 30 June 2014 14:15, Clayton Coleman <ccoleman redhat com> wrote:
> From the PUT /container/:id endpoint, use:
> {
>   "NetworkLinks": [
>     {
>       "FromHost": "<in_container_ip>",
>       "FromPost": <in_container_port_number>,
>       "ToHost": "<remote_server_ip_or_dns>",
>       "ToPort": <remote_container_port_number>
>     },
>     // ...
>   ]
> }
> You can use lowercase for all key names.

Thanks Clayton, that works perfectly.

Now I have a different question about linking from the localhost
address in the container to the localhost address of the host....but
I'll post that in a new thread.

-RichardW.



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