title: no editor found (editor path = /usr/bin/editor) running visudo
body: <p>I created a ubuntu docker container and when I try to edit the sudoers file I get the following message.</p>
  
  <pre><code>root@8c8a8ff68234:~# sudo visudo
  visudo: no editor found (editor path = /usr/bin/editor)
  </code></pre>
  
  <p>Create command and run command:- </p>
  
  <pre><code>docker run -id ubuntu
  docker exec -ti 8c8a8ff68234 /bin/bash
  </code></pre>