H
H
HelicoptersLive2018-04-26 21:50:37
linux
HelicoptersLive, 2018-04-26 21:50:37

How to forward in docker a volume that is mounted after starting a container?

The situation is as follows:
ubuntu is hanging in the container, in which the webdav disk is mounted. It is necessary to take out this mounted disk to the external environment.
The fact is that volume forwarding in the docker occupies a mounted directory, and after that it is not possible to mount webdav.
Perhaps somehow it is possible to mount mounted disks? (tautology, it sounds stupid, I understand, but I hope the essence of the question is clear)
upd: I will
describe the situation a little more
There is a machine on which it is not possible to mount webdav, but there is a docker in which the webdav disk is mounted, but it needs to be forwarded to an external car.
The difficulty is that if you do
docker run -v -v /host/folder:/container/folder
after you can’t do it

mount -t davfs https://webdavhost /container/folder/

since container/folder is already busy with another task
so how to deal with such a problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question