plugins/providers/docker/driver.rb in vagrant-unbundled-1.8.5.2 vs plugins/providers/docker/driver.rb in vagrant-unbundled-1.9.1.1
- old
+ new
@@ -46,10 +46,10 @@
run_cmd += links.map { |k, v| ['--link', "#{k}:#{v}"] }
run_cmd += ports.map { |p| ['-p', p.to_s] }
run_cmd += volumes.map { |v| ['-v', v.to_s] }
run_cmd += %W(--privileged) if params[:privileged]
run_cmd += %W(-h #{params[:hostname]}) if params[:hostname]
- run_cmd << "-i" << "-t" if params[:pty]
+ run_cmd << "-t" if params[:pty]
run_cmd << "--rm=true" if params[:rm]
run_cmd += params[:extra_args] if params[:extra_args]
run_cmd += [image, cmd]
execute(*run_cmd.flatten, **opts, &block).chomp.lines.last