# Docker查看容器进程

By [Panda](https://paragraph.com/@panda-2) · 2021-12-02

---

    $ docker ps
    CONTAINER ID   IMAGE                               COMMAND                  CREATED             STATUS             PORTS     NAMES
    8c77302f49d3   ghcr.io/iron-fish/ironfish:latest   "./entrypoint.sh sta…"   About an hour ago   Up About an hour             laughing_brahmagupta
    $ docker top 8c77302f49d3
    UID                 PID                 PPID                C                   STIME               TTY                 TIME                CMD
    root                499                 27143               0                   13:53               pts/2               00:00:00            bash /usr/src/app/bin/ironfish miners:start -t -1
    root                509                 499                 99                  13:53               pts/2               02:07:44            node /usr/src/app/bin/run miners:start -t -1
    root                8315                26697               0                   14:29               ?                   00:00:00            bash /usr/src/app/bin/ironfish miners:start -t -1
    root                8329                8315                99                  14:29               ?                   00:12:40            node /usr/src/app/bin/run miners:start -t -1
    root                26717               26697               0                   13:22               ?                   00:00:00            /bin/sh ./entrypoint.sh start --rpc.ipc --rpc.tcp
    root                26730               26717               12                  13:22               ?                   00:08:56            node ./bin/run start --rpc.ipc --rpc.tcp
    root                26939               26697               0                   13:23               pts/1               00:00:00            /bin/bash
    root                27143               26697               0                   13:25               pts/2               00:00:00            /bin/bash
    root                27566               26697               0                   13:29               ?                   00:00:00            /bin/bash

---

*Originally published on [Panda](https://paragraph.com/@panda-2/docker)*
