Docker cp does not work if volume is on NFS share
Summary
Using docker cp through a container whose volume is on an NFS share fails.
Environment information
VIC created with --volume-store "nfs://10.2.0.2/export/containerSSD?uid=0&gid=0:default"
Then volume created with "docker volume create hey" Then container started like this: "docker run -ti -v hey:/mnt/hey -d --name ubuntu ubuntu" With docker attach I was able to create a file in /mnt/hey and verified it on the NAS.
Now I tried to do: "docker cp ubuntu:/mnt/hey/wow ."
but it just says: "Error response from daemon: Server error from portlayer: [HEAD /archive][500] statPathInternalServerError"
I know it works if I put my volumes on the datastore instead.
vSphere and vCenter Server version
6.7
VIC version
V1.5.4-21221-B3D3B06F
VCH configuration
VIC created with --volume-store "nfs://10.2.0.2/export/containerSSD?uid=0&gid=0:default"
Details
Steps to reproduce
Actual behavior
Expected behavior
Logs
Feb 28 2020 14:31:59.131Z ERROR op=246.62.81: Error getting data source: NFS VolumeStore does not yet implement NewDataSource Feb 28 2020 14:31:59.978Z ERROR op=246.64.82: Error getting data source: NFS VolumeStore does not yet implement NewDataSource Feb 28 2020 14:33:44.099Z ERROR op=246.66.83: Error getting data source: NFS VolumeStore does not yet implement NewDataSource