Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker cp does not work if volume is on NFS share #8626

Open
intdel opened this issue Feb 28, 2020 · 0 comments
Open

Docker cp does not work if volume is on NFS share #8626

intdel opened this issue Feb 28, 2020 · 0 comments

Comments

@intdel
Copy link

intdel commented Feb 28, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant