Docker Community Forums

Share and learn in the Docker community.

Mount the nfs share with windows docker

Expected behavior

when we are mounting the nfs share as volume we are getting following issue.
docker volume create --driver local --opt type=nfs --opt o=addr=145.99.63.22,rw --opt device=:/opt/data/softwares nfs-share

Actual behavior

it has to create the volume

Information

Error response from daemon: create nfs-share: options are not supported on this platform

  • the output of:
    • DockerDebugInfo.ps1 using Powershell on Windows
  • a reproducible case if this is a bug, Dockerfiles FTW
  • page URL if this is a docs issue or the name of a man page
  • host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )

Steps to reproduce the behavior

  1. docker volume create --driver local --opt type=nfs --opt o=addr=145.99.63.22,rw --opt device=:/opt/data/softwares nfs-share run this command in windows docker