GNU/Linux xterm bash 1227 views

Example shows a broken service that refuses to start. We can check the status section of a docker inspect on the task ID of the failing service that exited, this will display the exit code and or reason for failure. Using the inspect we can identify the container ID of the task and check the logs of that container. We can also view the logs of all tasks using docker service logs.