Reputation: 63
While I work on setting up a network of linked docker containers, I find myself facing an issue that when I do docker run A ; docker run --link A:A B, and then later change A, I have to stop, rm and remake A, and then the 'link' in B will not work. For longer chains that means making any changes to A, even as minor as changing the restart policy or a mapped port, will result in me having to stop, rm and remake B, C, D, E ...
I understand that for production, Docker Compose is probably the tool of choice to deal with this, but I was wondering if there wasn't an easier solution during the initial development stages of a Docker network.
Upvotes: 0
Views: 69