I’m a docker newbie so sorry if the question turns out to be trivial or silly… I have a docker container running on Ubuntu server. In the container there is Home Assistant image. I’ve installed Plex plugin for Home Assistant and would like to add my library, but can’t do that as the container can’t access host files. The library I’d like to add is on usb drive which I’ve mapped to /Home//Usb drive/. When I click “Browse” from Plex and go to “/Home/” there is no folder in it, because it can’t access host’s filesystem…
From this topic I’ve learnt that I should run this command:
*docker run -v /path/on/host:/path/inside/container <image_name>*
The question is, what happens if I run this command while this image is already running? If I understand correctly, new instance of docker containg this image will run. If that’s the case, what happens to the data that current Home Assistant image have been storing inside the container (probably)?