Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
13 of 17 tasks
imbajin opened this issue Jan 20, 2020 · 18 comments · Fixed by #845, #1901 or #2118
Open
13 of 17 tasks

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

imbajin opened this issue Jan 20, 2020 · 18 comments · Fixed by #845, #1901 or #2118
Assignees
Labels
ci-cd Build or deploy feature New feature help wanted Extra attention is needed rocksdb RocksDB backend

Comments

@imbajin
Copy link
Member

imbajin commented Jan 20, 2020

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
@javeme

This comment was marked as outdated.

@imbajin
Copy link
Member Author

imbajin commented Jan 22, 2020

@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

@javeme

This comment was marked as outdated.

@T-baby

This comment was marked as outdated.

@imbajin

This comment was marked as outdated.

@T-baby

This comment was marked as outdated.

@imbajin

This comment was marked as outdated.

@imbajin imbajin closed this as completed Jul 5, 2021
@imbajin imbajin added ci-cd Build or deploy rocksdb RocksDB backend labels Jan 24, 2022
@imbajin imbajin reopened this Jan 24, 2022
@imbajin imbajin linked a pull request Jun 13, 2022 that will close this issue
@imbajin imbajin reopened this Jun 25, 2022
@imbajin imbajin changed the title Support build docker image from Dockerfile [Featuer] Support build docker image from Dockerfile (Task Summary) Jan 18, 2023
@imbajin imbajin linked a pull request Jan 18, 2023 that will close this issue
@imbajin imbajin added the help wanted Extra attention is needed label Jan 18, 2023
@imbajin imbajin moved this from 🆕 New to 🏗 In progress in HugeGraph Tasks Jun 26, 2023
@DoodleBears

This comment was marked as resolved.

@imbajin

This comment was marked as resolved.

@coderzc

This comment was marked as duplicate.

@aroundabout

This comment was marked as resolved.

@aroundabout

This comment was marked as resolved.

@imbajin
Copy link
Member Author

imbajin commented Jul 10, 2023

  • 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~ 🆒

@DoodleBears
Copy link

opened:
apache/incubator-hugegraph-toolchain#490 (comment)

@DoodleBears
Copy link

  • 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/incubator-hugegraph-toolchain#490 (comment)

aroundabout added a commit to aroundabout/incubator-hugegraph that referenced this issue Jul 11, 2023
@imbajin imbajin changed the title [Featuer] Support build docker image from Dockerfile (Task Summary) [Feature] Support build docker image from Dockerfile (Task Summary) Jul 25, 2023
aroundabout added a commit to aroundabout/incubator-hugegraph that referenced this issue Jul 26, 2023
aroundabout added a commit to aroundabout/incubator-hugegraph that referenced this issue Aug 2, 2023
aroundabout added a commit to aroundabout/incubator-hugegraph that referenced this issue Aug 4, 2023
aroundabout added a commit to aroundabout/incubator-hugegraph that referenced this issue Aug 10, 2023
aroundabout added a commit to aroundabout/incubator-hugegraph that referenced this issue Aug 23, 2023
aroundabout added a commit to aroundabout/incubator-hugegraph that referenced this issue Aug 23, 2023
aroundabout added a commit to aroundabout/incubator-hugegraph that referenced this issue Aug 23, 2023
aroundabout added a commit to aroundabout/incubator-hugegraph that referenced this issue Aug 24, 2023
aroundabout added a commit to aroundabout/incubator-hugegraph that referenced this issue Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment