---
title: "Discussion on \"Docker容器一启动就挂，要怎么排查？\" | Hashnode"
description: "Discussion on \"Docker容器一启动就挂，要怎么排查？\". 1. 分析镜像信息\n通过\ndocker inspect 镜像ID\n\n可以查看当前镜像的属性信息，那么我们重点需要关注的是Entrypoint这个属性的信息。\n关于entrypoint是什么，你可以参考Dockerfile reference | Docker Documentation\n我这里获取到的Entrypoint信息如下：\n\"Entrypoint\": [\n                \"/docker-entrypoint.sh\"\n            ],\n\n这个Entrypoin..."
url: "https://hashnode.com/posts/docker/62a2eca423f5f5accf2751b7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Docker容器一启动就挂，要怎么排查？](https://baofeidyz.hashnode.dev/docker?utm_source=hashnode&utm_medium=feed)

1\. 分析镜像信息 通过 docker inspect 镜像ID 可以查看当前镜像的属性信息，那么我们重点需要关注的是Entrypoint这个属性的信息。 关于entrypoint是什么，你可以参考Dockerfile reference | Docker Documentation 我这里获取到的Entrypoint信息如下： "Entrypoint": \[ "/docker-entrypoint.sh" \], 这个Entrypoin...

Jun 10, 2022 · 1 min read · baofeidyz.hashnode.dev  
Updated Jan 10, 2023  
Read the article

-   [#docker](https://hashnode.com/tag/docker)

## Written by

[baofeidyz](https://hashnode.com/@baofeidyz)

@baofeidyz

  
[View profile](https://hashnode.com/@baofeidyz)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
