Skip to content
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.

Containers get created in a stopped state. #24

Closed
renier opened this issue Feb 24, 2015 · 2 comments
Closed

Containers get created in a stopped state. #24

renier opened this issue Feb 24, 2015 · 2 comments
Milestone

Comments

@renier
Copy link

renier commented Feb 24, 2015

Containers get created in a stopped state. Starting them just returns them to a stopped state.

require 'chef/provisioning/docker_driver'

with_chef_server "http://some.address.com:8889"

machine 'mario' do
  recipe 'nginx'

  machine_options :docker_options => {
    :base_image => {
      :name => 'ubuntu',
      :repository => 'ubuntu',
      :tag => '14.04'
    },
    :detached => true
  }
end

I have tried adding a :command like tail -f /etc/lsb-release, but to no avail.

@jkeiser jkeiser added this to the 1.0 milestone Mar 2, 2015
@marc-
Copy link
Contributor

marc- commented Apr 3, 2015

This happens due to :port option is missing. It is evidently bug.

marc- added a commit to marc-/chef-provisioning-docker that referenced this issue Apr 6, 2015
…pecified

Signed-off-by: Maksim Chizhov <maksim.chizhov@gmail.com>
marc- added a commit to marc-/chef-provisioning-docker that referenced this issue May 6, 2015
…pecified

Signed-off-by: Maksim Chizhov <maksim.chizhov@gmail.com>
marc- added a commit to marc-/chef-provisioning-docker that referenced this issue May 6, 2015
…pecified

Signed-off-by: Maksim Chizhov <maksim.chizhov@gmail.com>
marc- added a commit to marc-/chef-provisioning-docker that referenced this issue May 29, 2015
Addresses
- chef-boneyard#37
- chef-boneyard#24

Signed-off-by: Maksim Chizhov <maksim.chizhov@gmail.com>
marc- added a commit to marc-/chef-provisioning-docker that referenced this issue May 29, 2015
Addresses
- chef-boneyard#37
- chef-boneyard#24

Signed-off-by: Maksim Chizhov <maksim.chizhov@gmail.com>
(cherry picked from commit c8355ff)
marc- added a commit to marc-/chef-provisioning-docker that referenced this issue May 29, 2015
Addresses
- chef-boneyard#37
- chef-boneyard#24

Signed-off-by: Maksim Chizhov <maksim.chizhov@gmail.com>
randomcamel pushed a commit that referenced this issue Jun 4, 2015
Addresses
- #37
- #24

Signed-off-by: Maksim Chizhov <maksim.chizhov@gmail.com>
randomcamel pushed a commit that referenced this issue Jun 8, 2015
Addresses
- #37
- #24

Signed-off-by: Maksim Chizhov <maksim.chizhov@gmail.com>
@randomcamel
Copy link
Contributor

Should be fixed by PR #47.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants