Merge pull request #7688 from hunterboerner/7597-docker-interactive-flag

Remove --interactive flag from Docker command
This commit is contained in:
Chris Roberts 2016-10-06 15:41:58 -07:00 committed by GitHub
commit 8291c56fd2
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]