Thanks Qiming. ;-) Yes, this is one solution for running user data when using docker container in HEAT. I see that the properties include almost all of the parameters used in "docker run".
Do you know if docker container support cloud-init in a image? My understanding is NOT as I did not see "userdata" in docker property. 2014-08-12 16:21 GMT+08:00 Qiming Teng <teng...@linux.vnet.ibm.com>: > > Hi, > > 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 > spawned. > > Is that what you want? > > Regards, > Qiming > > 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@lists.openstack.org > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > _______________________________________________ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -- Thanks, Jay
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev