Hi Devs,
I have been doing some work to get Docker[1] as an IaaS for Stratos. I have
setup a Virtualbox VM that run all Stratos servers and Openstack/Docker
that run in my laptop using just 5.2G memory. We can further curtail this
memory requirement if we setup Stratos servers run in single jvm as
discussed in the thread "development environment stratos runtime setup".

I have detailed the process in [2]. I can upload this  Virtualbox
image(3.1G in size) somewhere since I think this is a good environment for
developer testing.

Since Stratos already provide support for Openstack IaaS with lxc/kvm
drivers there is no additional work needed on Stratos CC. Only in the
Openstack setup you need to set the Docker driver instead of lxc or kvm
drivers. But there are some work involved when creating cartridge images
for Openstack/Docker. Following is some information on this additional work

- Add an Ubuntu 64 bit base image into Docker repository(public?) that
provide
        1) support to access instances by using ssh key
        2) Access userdata from metadata server when booting up instances
        3) Any other initial settings needed for a Stratos Cartridge(Is
this redundant to what we do using Puppet?)
  both of which are needed by cartridges instances of Startos. We can have
this base image in Docker public repository as well.

- Provide Dockerfile(The configuration file used in Docker to build images)
to create specific cartridges based on the base image we added above. This
may seem like duplicate effort since this does the same work what Puppet do
in creating cartridges for Openstack/kvm and EC2 Iaas environments.

Damitha

[1] https://www.docker.io/
[2]
http://damithakumarage.wordpress.com/2014/01/31/how-to-setup-openstack-havana-with-docker-driver/

-- 
__________________________________________________________________
Damitha Kumarage
http://people.apache.org/
__________________________________________________________________

Reply via email to