There are existing resources on how to mount local directories inside of a docker container- but what I want to do is the opposite- I'd like to mount my Docker container on my local macOS machine (as I could do when I mount a USB drive) so that I can manipulate the files inside using Sublime Text.
Is this possible on OS X? If so- how to do it?
Maybe it can be achieved somehow with osxfx?
The following command will mount my local Desktop inside of my Docker container, which is the opposite of what I want — what I need is something along the lines of — my Docker container shows up on my local Desktop.
docker run -it -v ~/Desktop:/Desktop smatthewenglish/mico-botnet:aleph bash
The point is - editing files with nano or vim is really annoying - I want to edit files with my own version of Sublime Text, which is configured just the way I like it.
As I develop a Docker container- install different applications and configure the settings, etc. I want to do that in my preferred development environment which lives on my local machine.