Ask Your Question

andreyo's profile - activity

2014-09-29 01:37:47 -0500 received badge  Notable Question (source)
2014-09-29 01:37:47 -0500 received badge  Famous Question (source)
2014-08-05 15:08:07 -0500 received badge  Popular Question (source)
2014-07-30 05:41:43 -0500 received badge  Enthusiast
2014-07-22 09:04:40 -0500 commented question Container is not started with heat

Thank you for the response.

This is kind of what I did in a first place. The docker installed fine and I can login to the instance and run docker containers. But then I try to use heat to deploy container on the instance and the container is got created and then exit immediately. I want the container up and running. Below is the template that I use to deploy the container:

heat_template_version: 2013-05-23

resources:
  my_docker_container:
    type: DockerInc::Docker::Container
    properties:
      docker_endpoint: {"Fn::Join": ["",["http://", "<IP:PORT>", ]]}
      image: cirros

The question is why the container exit immediately instead of stay up and running.