docker container退出状态255的含义是什么?

时间:2018-06-05 03:56:46

标签: docker

doc提及

  

您可以使用过滤器查找退出状态为的容器   137表示SIGKILL(9)杀死了他们

我想知道退出状态255是否意味着什么特别的?

1 个答案:

答案 0 :(得分:8)

If you see that on a docker ps, showing a container with a status "Exited (255)", that means its main entrpypoint/command process stopped with that status.

And 255 simply means "there was an error", but does not tell you much beside that.