lib/kitchen/driver/docker.rb in kitchen-docker-0.10.0 vs lib/kitchen/driver/docker.rb in kitchen-docker-0.11.0
- old
+ new
@@ -60,10 +60,10 @@
def create(state)
state[:image_id] = build_image(state) unless state[:image_id]
state[:container_id] = run_container(state) unless state[:container_id]
state[:hostname] = remote_socket? ? socket_uri.host : 'localhost'
state[:port] = container_ssh_port(state)
- wait_for_sshd(state[:hostname], :port => state[:port])
+ wait_for_sshd(state[:hostname], nil, :port => state[:port])
end
def destroy(state)
rm_container(state) if state[:container_id]
if config[:remove_images] && state[:image_id]