-v /root/test/root/test
deletes the files inside the container (and the container they were there), that is, there is a mapping from local to container. But I need the opposite.How to traverse a folder from the container in lokalny folder?
-v /root/test/root/test deletes the files inside the container
then copy the required files into the container.
On the other way.
If the directories have user sites (or something similar), it is logical everything is stored on the host, and push into the container.
It's easier bekapit, you can share data across multiple containere,
when rebuilding the container data will not be lost. - Donald.Rolfson commented on April 19th 20 at 12:48