How to mount media folder in supervised docker

Tags: #<Tag:0x00007f3267b20e30> #<Tag:0x00007f3267b20cc8>

Hello guys,

I installed the supervised Docker version of hass with this script

In the latest updates hass got a media browser and I wanted to use it. But as I don’t want to move all my files there and use my existing media folder.

Now I’m trying to figure out where I can mount the volume in Docker.
I tried to edit the file /usr/sbin/hassio-supervisor and added the line
-v /opt/media:/data/media:rw
But saving and restarting the container doesn’t seem to do anything.

Does anyone know where I can add the volume to the container?

So if someone has the same problem here is what I did. I went to /usr/share/hassio, deleted the media folder and sym-linked another folder with my music as media. Sadly it does not work to sym-link to a folder that has more symlinks.