You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.
I get
Docker::Error::ServerError
--------------------------
No command specified
as well.
If I edit line 200 of /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-provisioning-docker-0.5.2/lib/chef/provisioning/docker_driver/driver.rb to change
container = Docker::Container.create('Image' => image.id, 'name' => container_name)
to
container = Docker::Container.create('Image' => image.id, 'name' => container_name, 'Cmd' => docker_options[:command])
then it works.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried to run a simple test, but it fails because Container.create is missing the cmd parameter.
This did not work:
container = Docker::Container.create('Image' => image.id, 'name' => container_name)
This works:
container = Docker::Container.create('Cmd' => :command, 'Image' => image.id, 'name' => container_name)
The text was updated successfully, but these errors were encountered: