Hi Saleem, On 02/04/2016 10:45 AM, Saleem Ansari wrote: > Hi, > > Now that I understand the relationship between Nulecule and ADB, I have > couple of question: > > * How are these two projects related: atomic [1] and atomicapp [2] ? > * As of now what are the components that completely describe CDK ? Is ADB a > necessary and sufficient to be called as CDK ? > > > Alright, I will start with my understanding below ( I may be totally wrong > here ): > > Atomicapp is a reference implementation of Nulecule specification. However it > doesn't define how to run the app itself, so I assume it is actually Atomic > that will help with this task. > > However from the project description of Atomic: "Atomic Run Tool for > installing/running/managing container images.", it doesn't say anything > specific to Atomicapp either. >
Atomic is generic high-level tool for manipulating containers. Atomic allows an image provider to specify how a container image expects to be run. You can build build Docker image with `RUN` label where you specify command that is expected to be run to start this image. Then when you run `atomic run <yourimage>`, Atomic first inspects image, and if finds RUN label uses its value to start container. Atomic makes easier to run AtomicApp. You can run AtomicApp without atomic (see: https://github.com/projectatomic/atomicapp/blob/master/atomicapp.sh#L9) But because this is a lot of parameters, it is easier to use atomic and just do `atomic run <atomicappimage>`. Atomic than reads RUN label from image and assemble full docker run command (https://github.com/projectatomic/atomicapp/blob/master/Dockerfiles.pkgs/Dockerfile.centos#L13) Atomic cmd just makes running AtomicApp containers little easier that's all :-) you can run AtomicApp even without it. Hope this helps ;-) > I understand that the scope of both the projects, Atomic and Atomicapp isn't > limited to each other. But the relationship is not clear. > > > > What am I missing here to connect the dots ? > > > Thanks and regards, > Saleem > > [1] https://github.com/projectatomic/atomic > [2] https://github.com/projectatomic/atomicapp > > > > > > ----- Original Message ----- >> From: "Lalatendu Mohanty" <[email protected]> >> To: "Suraj Deshmukh" <[email protected]>, [email protected] >> Sent: Thursday, February 4, 2016 11:38:46 AM >> Subject: Re: [Container-tools] How adb and Nulecule fit together? >> >> On 02/03/2016 03:59 PM, Suraj Deshmukh wrote: >>> Hi, >>> >>> How adb and Nulecule fit together? >>> >>> I have tried using adb in the form of Vagrant box, from eclipse plugin >>> and it works fine. The part that I am still confused is how does 'adb' >>> and 'Nulecule' come together into picture. >>> >>> Once there is adb Vagrant box up and running, what do I do to run a >>> nuleculized application? Does the adb Vagrant box has all the required >>> applications installed(e.g. atomic) or services up and running(e.g. >>> kubernetes)? Or do I have to do it manually in that Vagrant Box? How >>> do they come into picture together? >>> >> ADB and Nulecule are two different projects and they have different >> objectives. >> >> That being said , there is a relationship between these projects where >> they can get benefited from each other. >> >> ADB as a developer tool chain, supports Nulecule and AtomicApp i.e. >> Nulecule based are applications are first class citizen in ADB. ADB >> provides way to quickly setup developer environments for providers which >> Nulecule supports i.e. Kubernetes, OpenShift , Mesos etc and you should >> be able to run Nulecule based applications in ADB successfully i.e. ADB >> should provid all required stuff that a developer need to develop >> Nulecule based applications and test them quickly >> >> Thanks, >> Lala >> >> _______________________________________________ >> Container-tools mailing list >> [email protected] >> https://www.redhat.com/mailman/listinfo/container-tools >> > > _______________________________________________ > Container-tools mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/container-tools > _______________________________________________ Container-tools mailing list [email protected] https://www.redhat.com/mailman/listinfo/container-tools
