lib/kitchen/transport/docker.rb
# Include the InSpec patches to be able to execute tests on Windows containers
Include the InSpec patches to be able to execute tests on Windows containers
Include the InSpec patches to be able to execute tests on Windows containers
def container
          @container ||= if @options[:platform].include?('windows')
                           Kitchen::Docker::Container::Windows.new(@options)
                         else
                           Kitchen::Docker::Container::Linux.new(@options)
                         end
          @container
        end
def container @container ||= if @options [ :platform ] . include? ( 'windows' ) Kitchen :: Docker :: Container :: Windows . new ( @options ) else Kitchen :: Docker :: Container :: Linux . new ( @options ) end @container end
Include the InSpec patches to be able to execute tests on Windows containers
Include the InSpec patches to be able to execute tests on Windows containers