Skip to content

Check State of the sedex Client Container

Health state of the container

The sedex Client container indicates its own health state. This health state can be monitored and displayed with standard Docker container means, e.g. using the docker container ls command .

Initially the container is in the state "health: starting":

$ docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
eec0d26407da sedexch/sedex-client:internal-ref-test-v2 "./scripts/prepare-a..."   2 hours ago Up 48 seconds (health: starting) 0.0.0.0:12010->8000/tcp, 0.0.0.0:12020->8080/tcp, 0.0.0.0:12021->8443/tcp sedex-client

After a delay, the container should be in the "healthy" state:

$ docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
eec0d26407da sedexch/sedex-client:internal-ref-test-v2 "./scripts/prepare-a..."   2 hours ago Up 3 minutes (healthy) 0.0.0.0:12010->8000/tcp, 0.0.0.0:12020->8080/tcp, 0.0.0.0:12021->8443/tcp sedex-client

Congratulations!

If your sedex Client Docker container is in the "(healthy)" state, it has successfully reached a normal operation state and can now receive and send sedex messages.

Detailed monitoring of the status

More details about monitoring the status of the sedex Client Docker container can be found in the Monitoring Status section.