Spectrum Docker containers stopped with 'exited' status

Document ID : KB000113019
Last Modified Date : 04/09/2018
Show Technical Document Details
Issue:
Spectrum 10.3 Docker Containers are unavailable.
Upon issuing command:

docker ps -a

Returns this:

CONTAINER ID        IMAGE                    COMMAND             CREATED             STATUS                    PORTS               NAMES
ae368381adc7        spectrum-srm-image-103   "/dispatcher.sh"    4 days ago          Exited (137) 3 days ago                       brave_hopper
3bc3688ea1e8        spectrum-ss-image-103    "/dispatcher.sh"    4 days ago          Exited (137) 3 days ago                       eloquent_ptolemy
b7fba2522377        spectrum-ss-image-103    "/dispatcher.sh"    4 days ago          Exited (130) 4 days ago                       goofy_hawking
 
Cause:
This can be caused by a container being stopped abruptly.
If you were running a container in a bash shell and then control + C or lost connection - this would cause this issue.
Resolution:

To start these containers backup, issue the following command:

docker start $(docker ps -a -q --filter "status=exited")

You will then have to connect to the container and fix the SSdb since the SpectroSERVER stopped ungracefully as well.

https://comm.support.ca.com/kb/the-spectroserver-fails-to-start-after-restoring-the-ssdb-database-from-a-known-good-backup/kb000046194

Once that is resolved, you can start the SS backup normally.

https://comm.support.ca.com/kb/how-to-start-spectroserver-after-running-a-docker-container-installation/kb000113025

 

 

Additional Information:
A docker container should be treated like any physical or virtual machine.
Be sure to shutdown all Spectrum Applications before shutting down the container.