P
P
Pavel Busel2015-10-16 18:12:29
linux
Pavel Busel, 2015-10-16 18:12:29

How to mount an NFS directory in a Docker container?

The essence of the task is as follows: it is necessary to mount the NFS directory located in the container on localhost. The problem is that the nfs client starts the daemon on port 111 of localhost and, accordingly, I can’t even start the container with NFS (it throws out ports 111 and 2049). Is it possible to set another port instead of 111 when connecting?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2015-10-19
@opium

In the docker, you can separately take out the volume in the external environment, why is it not clear why the NFS is here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question