diff --git a/lib/kitchen/docker/container/linux.rb b/lib/kitchen/docker/container/linux.rb index ddea5903..17ad1b71 100644 --- a/lib/kitchen/docker/container/linux.rb +++ b/lib/kitchen/docker/container/linux.rb @@ -29,16 +29,14 @@ def initialize(config) end def create(state) - super - debug('Creating Linux container') generate_keys state[:ssh_key] = @config[:private_key] state[:image_id] = build_image(state, dockerfile) unless state[:image_id] state[:container_id] = run_container(state, 22) unless state[:container_id] - state[:hostname] = 'localhost' state[:port] = container_ssh_port(state) + super end def execute(command)