docker容器退出状态255是什么意思? [英] What does docker container exit status 255 mean?

查看:1879
本文介绍了docker容器退出状态255是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

文档提及


您可以使用过滤器查找以
137状态退出的容器,这意味着SIGKILL(9)杀死了它们

You can use a filter to locate containers that exited with status of 137 meaning a SIGKILL(9) killed them

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

I'm wondering does exit status 255 mean anything special?

推荐答案

如果您在docker ps上看到此错误,并显示状态为 已退出(255)的容器,则表示其主要入口点/命令进程已停止并显示该状态。

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.

255仅表示有错误,但除此之外并不能告诉您太多信息。

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

这篇关于docker容器退出状态255是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆