[openstack-dev] [OpenStack][Docker][HEAT] Cloud-init and docker container

Qiming Teng tengqim at linux.vnet.ibm.com
Tue Aug 12 08:21:54 UTC 2014


Are you aware of the dockter_container resource type
(DockerInc::Docker::Container) in Heat contrib directory? I am seeing a
'CMD' property which is a list of command to run after the container is

Is that what you want?


On Tue, Aug 12, 2014 at 02:27:39PM +0800, Jay Lau wrote:
> Hi,
> I'm now doing some investigation for docker + HEAT integration and come up
> one question want to get your help.
> What is the best way for a docker container to run some user data once the
> docker container was provisioned?
> I think there are two ways: using cloud-init or the "CMD" section in
> Dockerfile, right? just wondering does anyone has some experience with
> cloud-init for docker container, does the configuration same with VM?
> -- 
> Thanks,
> Jay

> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

More information about the OpenStack-dev mailing list