docker run -d --name Bla -v /home/user/file.conf:/etc/file.conf author/image
If /home/user/file.conf does not exists, a directory “/home/user/file.conf/” will be created. Why?
From within the container I have to store data in (/home/user/file.conf). Does this file on the host really have to be created (touch /home/user/file.conf) before starting the container or is there a workaround?