Hello,
I need some help with docker volumes.
-
How do I map a volume to a specific directory on my machine (for instance my home directory).
It seems that I can only use the default location for volumes in /var/lib/docker/volumes/ ? -
How do I map only specific files in a directory?
For instancedocker run -it -p 1883:1883 -p 9001:9001 -v mosquitto.conf:/mosquitto/config/mosquitto.conf eclipse-mosquitto
This command fails because mosquitto.conf is seen as a directory and not a file?
Thank you.
Bernard.