You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by Xiangdong Huang <sa...@gmail.com> on 2019/02/23 07:09:45 UTC

Can we build docker image and push the image to DockerHub or other Docker Repository?

Hi,

Now we have not published the first Apache binary version for IoTDB. But
there are some users be interested in IoTDB and wanting to experience
IoTDB, and ask me to provide a Docker image to them.

My concern is that, can we add a process for building an IoTDB docker image
and push it to DockerHub (or other Docker Repository) as a nightly version
once the master branch passes the Jenkins-CI?

Does it violate any convention of ASF?

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院

Re: Can we build docker image and push the image to DockerHub or other Docker Repository?

Posted by Felix Cheung <fe...@hotmail.com>.
Building with Dockerfile is probably the best way for now.

When there is an Apache Release, Infra can setup publishing docker image (of said release) to DockerHub under the Apache group.


________________________________
From: Xiangdong Huang <sa...@gmail.com>
Sent: Saturday, February 23, 2019 4:41 AM
To: dev@iotdb.apache.org
Subject: Re: Can we build docker image and push the image to DockerHub or other Docker Repository?

Hi,

Now I am writing a Dockerfile and will push it to the git repository. Then,
if someone wants to use IoTDB in a container, he can run `docker build` to
get his image. In this way, we can avoid to provide a binary version to
users.

Indeed there is no request for docker image on dev@ mailing list. We
introduced Apache IoTDB with some friends and then they asked me about
that.. I told them that "please post your requests on our mailing list",
but apparently they lack the experience to use mailing list, and we need
time to let them do this... So I had to post this mail thread to let our
community know about this requirement.

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

黄向东
清华大学 软件学院


Christofer Dutz <ch...@c-ware.de> 于2019年2月23日周六 下午5:12写道:

> Hi Xiangdong,
>
> This could be an issue. It has just recently been discussed in the
> incubator list. I'm not 100% sure on the outcome (it was an extremely
> lengthy discussion)
>
> The problem is, while Maven has the notion of SNAPSHOTs, docker doesn't.
> You are allowed to distribute docker images of released artifacts, however
> you should be careful with unreleased versions. I am sure one of the other
> mentors will be able to help you.
>
> However, where have you seen these requests to provide sucker images. I
> can't see a single one in this list. Have the requests been fine on other
> channels I am not aware of? Had become almost silent on this list.
>
> Chris
>
> Outlook für Android<https://aka.ms/ghei36> herunterladen
>
> ________________________________
> From: Xiangdong Huang <sa...@gmail.com>
> Sent: Saturday, February 23, 2019 8:09:45 AM
> To: dev@iotdb.apache.org
> Subject: Can we build docker image and push the image to DockerHub or
> other Docker Repository?
>
> Hi,
>
> Now we have not published the first Apache binary version for IoTDB. But
> there are some users be interested in IoTDB and wanting to experience
> IoTDB, and ask me to provide a Docker image to them.
>
> My concern is that, can we add a process for building an IoTDB docker image
> and push it to DockerHub (or other Docker Repository) as a nightly version
> once the master branch passes the Jenkins-CI?
>
> Does it violate any convention of ASF?
>
> Best,
> -----------------------------------
> Xiangdong Huang
> School of Software, Tsinghua University
>
> 黄向东
> 清华大学 软件学院
>

Re: Can we build docker image and push the image to DockerHub orother Docker Repository?

Posted by 吴晟 Sheng Wu <wu...@foxmail.com>.
Yes. Important discussion and requirement should stay in ml.


Also support that, provide docker file instead of docker image for snapshot.


------------------
Sheng Wu
Apache SkyWalking, ShardingSphere, Zipkin
Twitter, wusheng1108


 




------------------ Original ------------------
From:  "Xiangdong Huang"<sa...@gmail.com>;
Date:  Sat, Feb 23, 2019 08:41 PM
To:  "dev"<de...@iotdb.apache.org>;

Subject:  Re: Can we build docker image and push the image to DockerHub orother Docker Repository?



Hi,

Now I am writing a Dockerfile and will push it to the git repository. Then,
if someone wants to use IoTDB in a container, he can run `docker build` to
get his image.  In this way, we can avoid to provide a binary version to
users.

Indeed there is no request for docker image on dev@ mailing list.  We
introduced Apache IoTDB with some friends and then they asked me about
that..  I told them that "please post your requests on our mailing list",
but apparently they lack the experience to use mailing list, and we need
time to let them do this...  So I had to post this mail thread to let our
community know about this requirement.

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Christofer Dutz <ch...@c-ware.de> 于2019年2月23日周六 下午5:12写道:

> Hi Xiangdong,
>
> This could be an issue. It has just recently been discussed in the
> incubator list. I'm not 100% sure on the outcome (it was an extremely
> lengthy discussion)
>
> The problem is, while Maven has the notion of SNAPSHOTs, docker doesn't.
> You are allowed to distribute docker images of released artifacts, however
> you should be careful with unreleased versions. I am sure one of the other
> mentors will be able to help you.
>
> However, where have you seen these requests to provide sucker images. I
> can't see a single one in this list. Have the requests been fine on other
> channels I am not aware of? Had become almost silent on this list.
>
> Chris
>
> Outlook für Android<https://aka.ms/ghei36> herunterladen
>
> ________________________________
> From: Xiangdong Huang <sa...@gmail.com>
> Sent: Saturday, February 23, 2019 8:09:45 AM
> To: dev@iotdb.apache.org
> Subject: Can we build docker image and push the image to DockerHub or
> other Docker Repository?
>
> Hi,
>
> Now we have not published the first Apache binary version for IoTDB. But
> there are some users be interested in IoTDB and wanting to experience
> IoTDB, and ask me to provide a Docker image to them.
>
> My concern is that, can we add a process for building an IoTDB docker image
> and push it to DockerHub (or other Docker Repository) as a nightly version
> once the master branch passes the Jenkins-CI?
>
> Does it violate any convention of ASF?
>
> Best,
> -----------------------------------
> Xiangdong Huang
> School of Software, Tsinghua University
>
>  黄向东
> 清华大学 软件学院
>

Re: Can we build docker image and push the image to DockerHub or other Docker Repository?

Posted by Xiangdong Huang <sa...@gmail.com>.
Hi,

Now I am writing a Dockerfile and will push it to the git repository. Then,
if someone wants to use IoTDB in a container, he can run `docker build` to
get his image.  In this way, we can avoid to provide a binary version to
users.

Indeed there is no request for docker image on dev@ mailing list.  We
introduced Apache IoTDB with some friends and then they asked me about
that..  I told them that "please post your requests on our mailing list",
but apparently they lack the experience to use mailing list, and we need
time to let them do this...  So I had to post this mail thread to let our
community know about this requirement.

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


Christofer Dutz <ch...@c-ware.de> 于2019年2月23日周六 下午5:12写道:

> Hi Xiangdong,
>
> This could be an issue. It has just recently been discussed in the
> incubator list. I'm not 100% sure on the outcome (it was an extremely
> lengthy discussion)
>
> The problem is, while Maven has the notion of SNAPSHOTs, docker doesn't.
> You are allowed to distribute docker images of released artifacts, however
> you should be careful with unreleased versions. I am sure one of the other
> mentors will be able to help you.
>
> However, where have you seen these requests to provide sucker images. I
> can't see a single one in this list. Have the requests been fine on other
> channels I am not aware of? Had become almost silent on this list.
>
> Chris
>
> Outlook für Android<https://aka.ms/ghei36> herunterladen
>
> ________________________________
> From: Xiangdong Huang <sa...@gmail.com>
> Sent: Saturday, February 23, 2019 8:09:45 AM
> To: dev@iotdb.apache.org
> Subject: Can we build docker image and push the image to DockerHub or
> other Docker Repository?
>
> Hi,
>
> Now we have not published the first Apache binary version for IoTDB. But
> there are some users be interested in IoTDB and wanting to experience
> IoTDB, and ask me to provide a Docker image to them.
>
> My concern is that, can we add a process for building an IoTDB docker image
> and push it to DockerHub (or other Docker Repository) as a nightly version
> once the master branch passes the Jenkins-CI?
>
> Does it violate any convention of ASF?
>
> Best,
> -----------------------------------
> Xiangdong Huang
> School of Software, Tsinghua University
>
>  黄向东
> 清华大学 软件学院
>

Re: Can we build docker image and push the image to DockerHub or other Docker Repository?

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Xiangdong,

This could be an issue. It has just recently been discussed in the incubator list. I'm not 100% sure on the outcome (it was an extremely lengthy discussion)

The problem is, while Maven has the notion of SNAPSHOTs, docker doesn't. You are allowed to distribute docker images of released artifacts, however you should be careful with unreleased versions. I am sure one of the other mentors will be able to help you.

However, where have you seen these requests to provide sucker images. I can't see a single one in this list. Have the requests been fine on other channels I am not aware of? Had become almost silent on this list.

Chris

Outlook für Android<https://aka.ms/ghei36> herunterladen

________________________________
From: Xiangdong Huang <sa...@gmail.com>
Sent: Saturday, February 23, 2019 8:09:45 AM
To: dev@iotdb.apache.org
Subject: Can we build docker image and push the image to DockerHub or other Docker Repository?

Hi,

Now we have not published the first Apache binary version for IoTDB. But
there are some users be interested in IoTDB and wanting to experience
IoTDB, and ask me to provide a Docker image to them.

My concern is that, can we add a process for building an IoTDB docker image
and push it to DockerHub (or other Docker Repository) as a nightly version
once the master branch passes the Jenkins-CI?

Does it violate any convention of ASF?

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院