Skip to content

[Feature] Support build docker image from Dockerfile (Task Summary) #840

Open

Description

@imbajin

Apache HugeGraph DockerHub: https://hub.docker.com/r/hugegraph/hugegraph

Usage:

# 0. download image (latest)
docker pull hugegraph/hugegraph

# 1. start container
docker run -itd hugegraph/hugegraph  # start server in daemon mode

# (Optional configs to expose network port outside)
docker run -itd --name=graph -p 18080:8080 hugegraph/hugegraph

# 2. (Optional) enter the container & start hugegraph-hubble
docker exec -it graph bash
xxx 

Feature Needs

  1. Add Dockerfile for running HugeServer
  2. Users can pull/run the image from dockerhub directly.

And anyone who has other suggestion for docker image can comment here

After PR, will update the doc 📝

Update in 2023.11.09:

Due to the project will move to Apache Foundation, we'll use 1.0.0 as the server version & bind hubble with it, reopen this issue until it meets the new need, any suggestions for Dockerfile are welcome.

Refer:

  1. Reduce the size of container images with DockerSlim
  2. One docker container with multi process (Not graceful:)
  3. How to use dumb-init to replace the pid1 in docker

Activity

  1. javeme commented on Jan 21, 2020

    @javeme
  2. imbajin commented on Jan 22, 2020

    @imbajin
    MemberAuthor

    @imbajin Thanks. do we need a repository like this: https://hub.docker.com/repository/docker/hugegraph/hugegraph

    Yep, and it should be associated with the current github repository, then add access token
    for dockerhub to auto get the change from Dockerfile & autobuild the image

    Refer to :

    1. Link to Github
    2. Autobuild from Dockerhub
  3. javeme commented on Jan 22, 2020

    @javeme
  4. T-baby commented on May 18, 2021

    @T-baby
  5. imbajin commented on May 18, 2021

    @imbajin
    Author
  6. T-baby commented on May 19, 2021

    @T-baby
  7. imbajin commented on Jul 5, 2021

    @imbajin
    Author
  8. 18 remaining items

  9. aroundabout commented on Jul 10, 2023

    @aroundabout
  10. imbajin commented on Jul 10, 2023

    @imbajin
    MemberAuthor
    • fix that hubble can't use localhost/0.0.0.0 & add a script to update the image

    What should I do if I user Docker to run hugegraph/hugegraph and hugegraph/hubble and encounter

    服务 localhost:8080 不可用
    

    Can you provide more information? Like the command you use.

    @aroundabout @DoodleBears
    better open a new issue in toolchain to handle it, this issue used for task summary (link other issue/PR), keep it clean (I'll hide them later), thanks~ 🆒

  11. DoodleBears commented on Jul 10, 2023

    @DoodleBears
  12. DoodleBears commented on Jul 11, 2023

    @DoodleBears
    • fix that hubble can't use localhost/0.0.0.0 & add a script to update the image

    What should I do if I user Docker to run hugegraph/hugegraph and hugegraph/hubble and encounter

    服务 localhost:8080 不可用
    

    Can you provide more information? Like the command you use.

    mentioned here:
    apache/hugegraph-toolchain#490 (comment)

  13. changed the title [-][Featuer] Support build docker image from Dockerfile (Task Summary)[/-] [+][Feature] Support build docker image from Dockerfile (Task Summary)[/+] on Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ci-cdBuild or deployfeatureNew featurehelp wantedExtra attention is neededrocksdbRocksDB backend

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions