RHEL docker volume NFS mount failed
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm currently trying to mount a NFS directory directly in Docker but it fails with
Error response from daemon: error while mounting volume '/var/lib/docker/volumes/mynfs/_data': error while mounting volume with options: type='nfs' device=':/folder' o='addr=<nfs HostIP>': no route to host
docker run:
docker run -it -v mynfs:/foo alpine sh
I created the volume before with
docker volume create
--name mynfs
--opt type=nfs
--opt device=:/folder
--opt o=addr=<nfs HostIP>
I also tried it with --net=host
but it doesn't make a difference
docker run --net=host -it -v mynfs:/foo alpine sh
System:
Red Hat Enterprise Linux Server release 7.5 (Maipo)
Docker
 Version: 1.13.1
 API version: 1.26
rhel nfs docker
New contributor
add a comment |Â
up vote
0
down vote
favorite
I'm currently trying to mount a NFS directory directly in Docker but it fails with
Error response from daemon: error while mounting volume '/var/lib/docker/volumes/mynfs/_data': error while mounting volume with options: type='nfs' device=':/folder' o='addr=<nfs HostIP>': no route to host
docker run:
docker run -it -v mynfs:/foo alpine sh
I created the volume before with
docker volume create
--name mynfs
--opt type=nfs
--opt device=:/folder
--opt o=addr=<nfs HostIP>
I also tried it with --net=host
but it doesn't make a difference
docker run --net=host -it -v mynfs:/foo alpine sh
System:
Red Hat Enterprise Linux Server release 7.5 (Maipo)
Docker
 Version: 1.13.1
 API version: 1.26
rhel nfs docker
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm currently trying to mount a NFS directory directly in Docker but it fails with
Error response from daemon: error while mounting volume '/var/lib/docker/volumes/mynfs/_data': error while mounting volume with options: type='nfs' device=':/folder' o='addr=<nfs HostIP>': no route to host
docker run:
docker run -it -v mynfs:/foo alpine sh
I created the volume before with
docker volume create
--name mynfs
--opt type=nfs
--opt device=:/folder
--opt o=addr=<nfs HostIP>
I also tried it with --net=host
but it doesn't make a difference
docker run --net=host -it -v mynfs:/foo alpine sh
System:
Red Hat Enterprise Linux Server release 7.5 (Maipo)
Docker
 Version: 1.13.1
 API version: 1.26
rhel nfs docker
New contributor
I'm currently trying to mount a NFS directory directly in Docker but it fails with
Error response from daemon: error while mounting volume '/var/lib/docker/volumes/mynfs/_data': error while mounting volume with options: type='nfs' device=':/folder' o='addr=<nfs HostIP>': no route to host
docker run:
docker run -it -v mynfs:/foo alpine sh
I created the volume before with
docker volume create
--name mynfs
--opt type=nfs
--opt device=:/folder
--opt o=addr=<nfs HostIP>
I also tried it with --net=host
but it doesn't make a difference
docker run --net=host -it -v mynfs:/foo alpine sh
System:
Red Hat Enterprise Linux Server release 7.5 (Maipo)
Docker
 Version: 1.13.1
 API version: 1.26
rhel nfs docker
rhel nfs docker
New contributor
New contributor
New contributor
asked 29 mins ago
RCX
1
1
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
RCX is a new contributor. Be nice, and check out our Code of Conduct.
RCX is a new contributor. Be nice, and check out our Code of Conduct.
RCX is a new contributor. Be nice, and check out our Code of Conduct.
RCX is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f480215%2frhel-docker-volume-nfs-mount-failed%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password