When CLI starts containers must have a logic to test if a dependent container is already up and running.
Why?
Some services need other containers to start first. Like neo-scan with postgres.
On docker-compose this is achieved with: depends_on
CLI needs to mimic the same concept
Additional Context
This must be done with Health (Healthcheck) and ContainerState
Describe the Solution
When CLI starts containers must have a logic to test if a dependent container is already up and running.
Why?
Some services need other containers to start first. Like neo-scan with postgres. On docker-compose this is achieved with: depends_on CLI needs to mimic the same concept
Additional Context
This must be done with Health (Healthcheck) and ContainerState