Edit mounted container file

Hello there,

I wonder how someone could edit various config files for a container with a persistent volume?
E.g. I would like to run Knot DNS but for this I would need to create a zone file with my settings.

On my regular linux docker machine I could either edit the file directly at the shell (nano or vi) or scp it to my desktop, edit it and copy it back.

At Mikrotik I only see a container directory.

you can use filezilla/winscp, connect to scp (ssh port 22), then browse to docker folder, it will be general linux folder

Or, if your container has an editor installed, shell into the container

Okay so scp will work for me.
I have intially created regular folders via “Files” and added my content but then I was not able to start the container with the folders as volume mounts.