How do I run a different editor other than notepad, with Docker Toolbox?

In Step 4 of the Windows Tutorial, it shows how to launch notepad.exe, from the terminal. Nobody actually uses notepad.exe to edit files - how do I associate another editor with this? Is there a way to launch other external programs from within this environment?

Sure. Just invoke the editor directly from the CLI, or navigate to the file you wish to edit from within your editor.

For instance:

$ vi Dockerfile

Should work in the terminal as well due to the presence of MinGW tools.