compose icon indicating copy to clipboard operation
compose copied to clipboard

Update container w/ network when healthy?

Open dm17 opened this issue 3 years ago • 0 comments

Can compose replace or update a container when the new one is healthy? In my definition of replace, it only attaches it to networking (unless there is build-time networking) when the container comes up and also has a healthy status. The services inside of these containers must be up as well (which I'm pretty sure is included in docker's definition of 'healthy').

I realize the standard is "use k8s or swarm" or similar. But I can do everything I need with compose except this - and it is close enough to ideal without this currently.

The only other docker functionality that would really improve my container-life these days is https://github.com/docker/compose/issues/3729

dm17 avatar Aug 18 '22 15:08 dm17