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 execute(command)
          return if command.nil?
          debug("[Docker] Executing command: #{command}")
          info("[Docker] Executing command on container")
          container.execute(command)
        rescue => e
          raise DockerFailed, "Docker failed to execute command on container. Error Details: #{e}"
        end
def execute ( command ) return if command . nil? debug ( "[Docker] Executing command: #{command}" ) info ( "[Docker] Executing command on container" ) container . execute ( command ) rescue => e raise DockerFailed , "Docker failed to execute command on container. Error Details: #{e}" 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
command
<not_specific>