Docker Community Forums

Share and learn in the Docker community.

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

(Gerrat) #1

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?

(Nathan Le Claire) #2

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.