diff --git a/plugins/provisioners/docker/client.rb b/plugins/provisioners/docker/client.rb index 391c76395..3a42b260c 100644 --- a/plugins/provisioners/docker/client.rb +++ b/plugins/provisioners/docker/client.rb @@ -128,7 +128,7 @@ module VagrantPlugins # recent versions use the full container ID # See https://github.com/dotcloud/docker/pull/2140 for more information return comm.test("#{docker_ps} | grep -wFq #{id}") || - comm.test("#{docker_ps} -notrunc | grep -wFq #{id}") + comm.test("#{docker_ps} --no-trunc | grep -wFq #{id}") end end