I use sftp plugin from my IDE.
- Install ssh server for your container and allow root access.
- Run your docker container with -p localport:22
- Install from your IDE a sftp plugin
Example using sublime sftp plugin:
https://www.youtube.com/watch?v=HMfjt_YMru0