Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I link a Container Group with a Container?

Note: This is a question related to Docker support in Bluemix.

I know how to link a Container with a Container, using --link parameter when starting the second Container with ice run command.

But I haven't found a way to link them, when using a Container Group. I read the docs and check ice command help with no luck.

The scenario I am trying to achieve is to create a front end Container Group linked to a single backend Container. Any idea or suggestion about how to do it?

like image 622
Jose Miguel Ordax Avatar asked Oct 30 '22 18:10

Jose Miguel Ordax


1 Answers

This is not supported yet in the current ver of IBM Containers.

You can consider, in the mean time, creating yourself the environment vars, that linking creates.

like image 65
Alaa Youssef Avatar answered Nov 14 '22 02:11

Alaa Youssef