Need to add/remove links to containers on the fly

26 views
Skip to first unread message

Rishabh Baronia

unread,
Jun 30, 2015, 5:24:42 AM6/30/15
to ranc...@googlegroups.com
Hello
I am running a client container & a server container, both as services in Rancher OS v0.3.1. I need to add another server container without recreating the client container which is currently linked via `--link` to the current server container service. I need to be able to add server container to the client container without impact on the current server container. How do I do it?

Denise Schannon

unread,
Jun 30, 2015, 4:54:35 PM6/30/15
to Rishabh Baronia, ranc...@googlegroups.com
Assuming your containers are services, you should be able to go to the client container and click on “Edit”. In the edit screen, you’ll be able to add additional links. Upon saving, you’ll need to do a refresh of the browser to see the links, but the new link from the client service to the new server service will have already been created. There will be no impact with your current server container.

The only caveat would be that if you are using environment variables. The services dependent on environment variables need to be linked before they are created.


--
You received this message because you are subscribed to the Google Groups "Rancher" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rancherio+...@googlegroups.com.
To post to this group, send email to ranc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rancherio/5625885f-ef27-47b9-ad6f-cd6d92530317%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages