You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2019/07/26 13:49:46 UTC

[GitHub] [incubator-iotdb] jixuan1989 commented on issue #312: use latest binary file to build the docker image

jixuan1989 commented on issue #312: use latest binary file to build the docker image
URL: https://github.com/apache/incubator-iotdb/pull/312#issuecomment-515460588
 
 
   > Hey @jixuan1989 I would suggest to move this file to "src/main/docker" as this fits more to the maven convention. Otherwise it lloks good.
   
   Hi, I move the file to docker/src/main/.
   
   > Why is the Entrypoing commented out?
   
   It is because I think this docker image can be as a base image. We can use it to build a server image or a client image. Or, we can use it to run either a server instance or a client instance by:
   
   * `docker run -p 6667:6667 -v mydata:/iotdb/data -v mylogs:/iotdb/logs -d iotdb:base /iotdb/bin/start-server.sh`
   * `docker run -it iotdb:base /cli/bin/start-client.sh -h <C_IP> -p 6667 -u root -pw root` 
   
   However, if we have chance to publish the image to DockerHub, we need open the Entrypoing, I think.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services