lib/chef/provisioning/docker_driver/docker_container_machine.rb
# Expects a machine specification, a usable transport and convergence strategy
# Options is expected to contain the optional keys
#   :command => the final command to execute
#   :ports => a list of port numbers to listen on
Expects a machine specification, a usable transport and convergence strategy
Options is expected to contain the optional keys
:command => the final command to execute
:ports => a list of port numbers to listen on
Expects a machine specification a usable transport and convergence strategy Options is expected to contain the optional keys : command = > the final command to execute : ports = > a list of port numbers to listen on
def container_for(machine_spec)
      begin
        Docker::Container.get(machine_spec.name, {}, @connection)
      rescue Docker::Error::NotFoundError
      end
    end
def container_for ( machine_spec ) begin Docker :: Container . get ( machine_spec . name , { } , @connection ) rescue Docker :: Error :: NotFoundError end end
Expects a machine specification, a usable transport and convergence strategy
Options is expected to contain the optional keys
:command => the final command to execute
:ports => a list of port numbers to listen on
Expects a machine specification a usable transport and convergence strategy Options is expected to contain the optional keys : command = > the final command to execute : ports = > a list of port numbers to listen on
machine_spec
<not_specific>