We had numerous discussions with the Atomic CLI team in regards to the splitting of Atomic and Atomic App or at least a compromise between the two.
For ex. using "atomic app run" instead of "atomic run" which would be an alias to atomicapp (either imported as a library or whatever), or having atomic app natively on Atomic host. Albit this was discussed, we did not implement it. The biggest pain being that in order to use atomicapp effectively we have to circumvent some Atomic CLI commands (for ex. we added --mode run/fetch/install, so we can use "fetch" in atomicapp via atomic run projectatomic/helloapache --mode fetch). Unfortunatley due to the minimalism of Project Atomic hosts (Fedora 22 Atomic Host, CentOS Atomic Host, etc. they don't even have git since it requires perl dependencies? ) our discussions lead to leaving it to how it was before and using --mode in atomic CLI instead. But yes, you can if you choose, to skip "atomic" and use "atomicapp" for the deployment and stopping of the packaged container. Although at the moment it's not suggested in production environments (Atomic, Hosts, etc.), for dev though it should be fine. I'd like to bring back this discussion if possible. If anyone else would like to reply to this in order to offer a different viewpoint then that would be great! On 02/05, Suraj Deshmukh wrote: > Hi, > > When I can run a Nuleculised application directly from commandline like I > this: > > $ sudo atomicapp run . > > in a directory that has Nulecule file, which will further pull all the > docker images > required deploy containers as required, why are we providing a docker > image with all > files in Nuleculized application? > > What I mean here is referring [1] in the seventh step, why do I build > a docker image, > and then use 'atomic' cli to run the docker container, while same > thing I can do with 'atomicapp'? > And that also leaves me with one less container image? How does this > all fall into place? > > > [1] http://www.rtnpro.com/nuleculizing-an-docker-image/ > > -- > - Suraj Deshmukh (surajd) > > https://deshmukhsuraj.wordpress.com > https://github.com/surajssd > https://twitter.com/surajssd009005 > > _______________________________________________ > Container-tools mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/container-tools -- Charlie Drage Red Hat - OSAS Team / Project Atomic 4096R / 0x9B3B446C http://pgp.mit.edu/pks/lookup?op=get&search=0x622CDF119B3B446C _______________________________________________ Container-tools mailing list [email protected] https://www.redhat.com/mailman/listinfo/container-tools
