Closed alexanderfefelov closed 3 years ago
docker inspect --format='{{json .State.Health}}' backpack-nav | jq:
docker inspect --format='{{json .State.Health}}' backpack-nav | jq
{ "Status": "unhealthy", "FailingStreak": 3703, "Log": [ { "Start": "2020-12-01T12:25:39.123789035+03:00", "End": "2020-12-01T12:25:39.412021737+03:00", "ExitCode": 1, "Output": "nc: invalid option -- 'N'\nnc -h for help\n" }, { "Start": "2020-12-01T12:26:39.489576117+03:00", "End": "2020-12-01T12:26:39.784521282+03:00", "ExitCode": 1, "Output": "nc: invalid option -- 'N'\nnc -h for help\n" }, { "Start": "2020-12-01T12:27:39.852717201+03:00", "End": "2020-12-01T12:27:40.158730147+03:00", "ExitCode": 1, "Output": "nc: invalid option -- 'N'\nnc -h for help\n" }, { "Start": "2020-12-01T12:28:40.233205384+03:00", "End": "2020-12-01T12:28:40.531089714+03:00", "ExitCode": 1, "Output": "nc: invalid option -- 'N'\nnc -h for help\n" }, { "Start": "2020-12-01T12:29:40.588200573+03:00", "End": "2020-12-01T12:29:40.90000549+03:00", "ExitCode": 1, "Output": "nc: invalid option -- 'N'\nnc -h for help\n" } ] }
docker inspect --format='{{json .State.Health}}' backpack-nav | jq
: