lib/minke/docker/docker_runner.rb in minke-1.0.0 vs lib/minke/docker/docker_runner.rb in minke-1.0.1
- old
+ new
@@ -46,9 +46,13 @@
# - Docker::Container
# - sucess (true if command succeded without error)
def create_and_run_container image, volumes, environment, working_directory, cmd
# update the timeout for the Excon Http Client
# set the chunk size to enable streaming of log files
+ #puts working_directory
+ puts volumes
+ #puts environment
+
::Docker.options = {:chunk_size => 1, :read_timeout => 3600}
container = ::Docker::Container.create(
'Image' => image,
'Cmd' => cmd,
"Binds" => volumes,