Skip to content

[Question] Dockerfile misc problems #2343

Closed

Description

@aroundabout

Problem Type (问题类型)

performance (性能优化) subtask of #840

Before submit

  • 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

Environment (环境信息)

  • Server Version: 1.0.0 (Apache Release Version)
  • Backend: RocksDB x nodes, HDD or SSD
  • OS: xx CPUs, xx G RAM, Ubuntu 2x.x / CentOS 7.x
  • Data Size: xx vertices, xx edges

Your Question (问题描述)

In the current Dockerfile, we use a shell to run three shell in order:

ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["./docker-entrypoint.sh"]

In docker-entrypoint.sh

./bin/wait-storage.sh
./bin/init-store.sh
./bin/start-hugegraph.sh -d false -j "$JAVA_OPTS" -g zgc

There are some question:

  1. Can the dumb-init work correctly or does it still make sense to use dumb-init
  2. If the server is down, will the container exit or not
  3. If the container is down, users should do what to restart the container? If they use docker start, docker will do wait-storage and init-store again. And if docker start, is the expected result consistent with the actual one?
  4. The name of docker-entrypoint.sh seems to be inappropriate

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

Activity

  1. changed the title [-][Question] describe your problem[/-] [+][Question] Dockerfile misc problems[/+] on Nov 9, 2023
  2. github-actions commented on Nov 24, 2023

    @github-actions
  3. added
    help wantedExtra attention is needed
    ci-cdBuild or deploy
    and removed on Nov 24, 2023
  4. tirthpatel90 commented on Jun 27, 2026

    @tirthpatel90

    Hi @imbajin,

    I noticed this issue has been open for a while but still has the help wanted tag. I am interested in picking this up to help resolve the Dockerfile and container lifecycle concerns.

    Could you please confirm if this issue is still relevant and open for contribution?

    If yes, just let me know or assign it to me, and I will start reproducing the behavior locally to propose a fix.

    Thanks!

  5. imbajin commented on Jun 28, 2026

    @imbajin
    Member

    Hi @imbajin,

    I noticed this issue has been open for a while but still has the help wanted tag. I am interested in picking this up to help resolve the Dockerfile and container lifecycle concerns.

    Could you please confirm if this issue is still relevant and open for contribution?

    If yes, just let me know or assign it to me, and I will start reproducing the behavior locally to propose a fix.

    Thanks!

    @tirthpatel90 seems enhanced it in #3043

    however, u could enhance it when u find something does not fully meet expectations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci-cdBuild or deployhelp wantedExtra attention is neededimprovementGeneral improvement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions