Do I need to first manually create directories on the host?

Getting ready to use Docker for the very first time and install Sonarr container. I’ve searched, but cannot find the the answer to one question. The following parameter:

-v path to data:/config \

I assume that I need to first manually create the “path to data” directories on the host first?

You don’t have to manually create it, if it’s not an existing location, docker will create it, but it will be owned by root (docker runs as root). Config folder permissions will be automatically fixed by the container during start. The data folders need to be fixed by you.

1 Like