Created
April 16, 2021 18:00
-
-
Save asolera/6975acf50aae6b726e4d87df48db466b to your computer and use it in GitHub Desktop.
Docker swarm debug commands that shows errors on service deploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Credits/thanks to: https://stackoverflow.com/questions/45372848/docker-swarm-how-to-find-out-why-service-cant-start | |
docker service ps --no-trunc {serviceName} | |
journalctl -u docker.service | tail -n 50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment