Remove --interactive flag from Docker command

See: GH-7597. Due to the childprocess gem setting STDIN to a pipe,
Docker will fail as it requires STDIN to be a TTY if run with
--interactive.
This commit is contained in:
Theron Boerner 2016-08-07 12:37:50 -05:00
parent d96dc95076
commit 391c5be08e
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ module VagrantPlugins
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]