title: sudo: docker-machine: command not found
body: <p>who has ever tried following this tutorial about <strong>Docker Swarm</strong>?</p>
  
  <p><a href="https://docs.docker.com/get-started/part4/" rel="noreferrer">https://docs.docker.com/get-started/part4/</a></p>
  
  <p>There is a section called : <strong>Create a cluster</strong>. What I wanted to do was to create a couple of VMs using docker-machine. Since I use ubuntu16.0.4 so I used following commands to get VirtualBox. </p>
  
  <pre><code>sudo apt-get update
  sudo apt-get install virtualbox-5.2
  </code></pre>
  
  <p>After I installed VirtualBox, typed a command like :</p>
  
  <p><code>docker-machine create --driver virtualbox myvm1</code></p>
  
  <p>But it says : 
  <strong>sudo: docker-machine: command not found</strong></p>
  
  <p>So I typed another command to check if I have installed VirtualBox correctly.</p>
  
  <p><strong>sudo virtualbox version</strong></p>
  
  <p>This opens the <strong>Oracle VM VirtualBox Manager</strong>, which means I did install VirtualBox correctly , but not sure. </p>
  
  <p>Could anyone help me with a proper solution? 
  Any help would be appreciated.</p>