title: The executable 'cmd.exe' Vagrant is trying to run was not found in the PATH variable. This is an error. Please verify this software is installed
body: <pre><code>FROM ubuntu:18.04
  RUN apt-get update -y
  RUN apt-get install -y qemu-kvm libvirt-daemon-system libvirt-dev
  RUN apt-get install -y linux-image-$(uname -r)
  RUN apt-get install -y curl net-tools jq
  RUN apt-get autoclean
  RUN apt-get autoremove
  RUN curl -O https://releases.hashicorp.com/vagrant/$(curl -s https://checkpoint-api.hashicorp.com/v1/check/vagrant  | jq -r -M '.current_version')/vagrant_$(curl -s https://checkpoint-api.hashicorp.com/v1/check/vagrant  | jq -r -M '.current_version')_x86_64.deb
  RUN dpkg -i vagrant_$(curl -s https://checkpoint-api.hashicorp.com/v1/check/vagrant  | jq -r -M '.current_version')_x86_64.deb
  RUN vagrant plugin install vagrant-libvirt
  RUN vagrant box add --provider libvirt peru/windows-10-enterprise-x64-eval
  RUN vagrant init peru/windows-10-enterprise-x64-eval
  COPY startup.sh /
  ENTRYPOINT [&quot;/startup.sh&quot;]
  </code></pre>
  <p>Hello friends! Dockerfile crashes when executing command:  docker build .</p>
  <blockquote>
  <p>ERROR [13/15] RUN vagrant init peru/windows-10-enterprise-x64-eval<br />
  2.9s</p>
  <p>[13/15] RUN vagrant init peru/windows-10-enterprise-x64-eval:</p>
  </blockquote>
  <blockquote>
  <p>Vagrant failed to initialize at a very early stage:
  The executable 'cmd.exe' Vagrant is trying to run was not found in the PATH variable. This is an error. Please verify this software is installed and on the path.</p>
  </blockquote>
  <p>My host computer on windows 10</p>
  <p>How to fix it?</p>
  <p>Is it generally possible to implement this or not what would work?</p>