On 11/27/2015 06:31 AM, Vaclav Pavlin
wrote:
Why can't we leave everything inside of the container? Why not leave the answers file their and allows users to docker commit the image to create a new app with answers answered. One of the things that Dusty suggested is we have a meta container, which just contains Nulecule specifications and answer content, as well as labels. The label for INSTALL could be something like docker run atomicapp --options $IMAGE atomic run myapp Would then run docker run atomicapp --options helloworldapp This command could then pull down the "atomicapp" container and run it passing in the container image named hellowworldapp to execute. atomicapp then could examine and use hellowworldapp to run the application. atomic mount helloworldapp /mnt Would allow you to mount the myapp specification, and then edit the answers file as you see fit. We don't want to imbed any code into the nulecule container image, so the emacs/vi/gedit would need to come from the host or from another containers. This would allow users to do a docker commit helloworldapp myhelloworldapp and create a new helloworldapp container which he could push to the registry. Now he could run `atomic run myhelloworldapp` anywhere in his infrastructure and get his anwers file preanswered. |