Skip to content

Provide a way to dynamically link the containers #3155

@farcaller

Description

@farcaller

Currently, it is possible to link a container to an already running container, so if the linked container has to restart — all its dependencies have to restart.

Consider the following setup with four containers:

  • db
  • app1, links to db
  • app2, links to db
  • frontend, links to app1 and app2

They have to be started in order: db, app1, app2, frontend.

Now, I want to update the app1, so I turn it down. It's still displayed as a link in docker ps for frontend (see also #3154).

When time comes, I start a new app1, but at this point I somehow need to tell frontend where is the new one app1. The simple way to do that is restarting frontend as well, but that might interrupt connectivity to app2.

There should be a way to interlink existing containers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    exp/expertkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions