Hi Imesh, What I meant was a Docker registry (Could be docker hub or a private docker registry configured for Stratos). That would also be a docker container running in Stratos environment which is based on the 'registry' docker image. We can make it configurable if we want whether to use the private registry or the docker hub.
As I feel there can be situations where Stratos users have to maintain a docker registry of their own, other than maintaining the images in dockerhub. Thanks, Sajith On Fri, Oct 3, 2014 at 6:30 AM, Imesh Gunaratne <im...@apache.org> wrote: > Hi Sajith, > > Great! Thanks for the clarification. When we say registry here are we > referring Docker Registry or one of the Stratos Registries? > > Thanks > > On Fri, Sep 12, 2014 at 10:39 AM, Sajith Kariyawasam <saj...@wso2.com> > wrote: > >> Hi Imesh, >> >> What I thought was to define a Docker image file location (github url) in >> the cartridge definition json, and to build the Image and push to the >> registry during the cartridge deployment time. So will be managing docker >> images in registry, and the Docker image definition files (Dockerfile) will >> be managed in image developer's git repo. WDYT ? >> >> Thanks, >> Sajith >> >> On Fri, Sep 5, 2014 at 5:00 PM, Imesh Gunaratne <im...@apache.org> wrote: >> >>> Hi Sajith, >>> >>> Are we looking at managing Docker images in registry or Docker image >>> definition files? >>> >>> Thanks >>> >>> >>> On Thu, Sep 4, 2014 at 4:03 AM, chris snow <chsnow...@gmail.com> wrote: >>> >>>> Hi Sajith, >>>> >>>> At the moment the Stratos in docker images have to be built manually >>>> (with a single command). I haven't put much effort into automation >>>> because of questions around licensing as all docker images are based >>>> on Linux and will probably inherit the GPL license. >>>> >>>> Many thanks, >>>> >>>> Chris >>>> >>>> On Thu, Sep 4, 2014 at 8:54 AM, Sajith Kariyawasam <saj...@wso2.com> >>>> wrote: >>>> > Hi Devs, >>>> > >>>> > As mentioned in Lakmal's previous mail "Stratos and Kuburnetes and >>>> docker >>>> > support", its better if we can support dynamically build and push >>>> Docker >>>> > images to the registry during a cartridge deployment. >>>> > >>>> > I think its a great feature to have, and can be supported by using CI >>>> tools >>>> > like Jenkins. I did bit of a research and were able to get a Docker >>>> image >>>> > built successfully using docker-build-step-plugin [1] >>>> > ( I did through Jenkins UI, ideally should be done through their API, >>>> will >>>> > give an update on that) >>>> > Also found that there is another plugin [2] >>>> > >>>> > @Chris, I saw you have done some work in building some docker images >>>> through >>>> > Jenkins, any suggestions on the plugins etc ? >>>> > >>>> > Thanks, >>>> > Sajith >>>> > >>>> > [1] >>>> https://wiki.jenkins-ci.org/display/JENKINS/Docker+build+step+plugin >>>> > [2] >>>> https://wiki.jenkins-ci.org/display/JENKINS/Docker+build+publish+Plugin >>>> > >>>> > -- >>>> > -- >>>> > Sajith Kariyawasam >>>> > Mobile: +94772269575 >>>> >>> >>> >>> >>> -- >>> Imesh Gunaratne >>> >>> Technical Lead, WSO2 >>> Committer & PMC Member, Apache Stratos >>> >> >> >> >> -- >> *Sajith Kariyawasam* >> >> >> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com >> <http://wso2.com>AMIE (SL)Mobile: +94772269575* >> > > > > -- > Imesh Gunaratne > > Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > -- *Sajith Kariyawasam* *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com <http://wso2.com>AMIE (SL)Mobile: +94772269575*