What is the purpose of subpath volumes?

Hi,

What is the purpose of subpath in volumes ? When do I need to use it ?

Regards,
Wael

subpath is required for not modifying the entire path.
If you have /var/www/html/blog, then with “subpath: blog” configured in Volume, you just override blog content only.

1 Like