Merge pull request #5922 from mitchellh/sethvargo/docker_space_args
Add a space before args
This commit is contained in:
commit
66b1ac7f05
|
@ -91,7 +91,7 @@ module VagrantPlugins
|
|||
args << "-d " if config[:daemonize]
|
||||
args << "--name #{name} " if name && config[:auto_assign_name]
|
||||
args << "--restart=#{config[:restart]}" if config[:restart]
|
||||
args << config[:args] if config[:args]
|
||||
args << " #{config[:args]}" if config[:args]
|
||||
@machine.communicate.sudo %[
|
||||
rm -f #{config[:cidfile]}
|
||||
docker run #{args} #{config[:image]} #{config[:cmd]}
|
||||
|
|
Loading…
Reference in New Issue