I successfully mapped NFS fs to a container with the command below:
docker run -tid -p 11420:1414 -v /HA/Data/:/Data --name “HAcontainer” myimg:1.0
It started smoothly, so I modified the container and committed it back to an image for real use. But after removing the old container, and start it again with the same command, the container starts, but the volume mapping is not there anymore.
Where should I look for cause of the failure?
I used docker logs, and docker inspect, but none provide any error information. Also /var/log/messages contains no information.
thanks much for any insight!