lib/dockdev.rb in dockdev-0.3.0 vs lib/dockdev.rb in dockdev-0.3.1
- old
+ new
@@ -51,10 +51,10 @@
if not ctx.nil?
mount = ctx.process_mount(mount)
logger.debug "Mount points by context : #{mount}"
end
- img.new_container(cont.name, command: cmd) #, mounts: mount)
+ img.new_container(cont.name, command: cmd, mounts: mount)
else
raise Error, "\n No image and no Dockerfile found to build the image found. Operation aborted. \n\n".red
end
end
end