Docker Container Integration
1752540 Members
4771 Online
108788 Solutions
New Discussion

Re: Docker persistent volume clone issue

 
SOLVED
Go to solution
synagrida
Visitor

Docker persistent volume clone issue

Hello,
I have a container also nimble volume attached. I want to clone that volume and attach another container but I have faced an issue mentioned below;
docker cloned volume issue
docker run -dt --name app02 \
> --mount source=clone_test,target=/data alpine
c8a227dbef7cc5627d01e0a7906eb8d8dbf7f11491c3eb91742f7a2cf3fe8ecf
docker: Error response from daemon: error while mounting volume '': unable to attach device status code was 500 Internal Server Error for request: action=POST path=http://unix/hosts/0d0548b0-53e9-4d88-af36-e0f702057efb/devices, attempting to decode error response.


How can I fix that issue
Thank you

4 REPLIES 4
MichaelMattsson
HPE Blogger

Re: Docker persistent volume clone issue

What version of the Docker Volume Plugin and NimbleOS are you running?

I'm also a bit unfamiliar with that --mount syntax. Do you get the same error if you do:

docker run -dt --name app02 -v clone_test:/data alpine
synagrida
Visitor

Re: Docker persistent volume clone issue

Hello Michael,
Thank you for reply,
I have been using Docker CE 19.03.3 also nimble plugin version is 2.5.1

I tried your command but the result was different .

Spoiler
[root@docker01 ~]# docker run -dt --name app02 -v clone_test:/data alpine
4a8c5680d6ebb2638bc555343d9a140f211d6011f4b3b233c313db5726b965b9
docker: Error response from daemon: error while mounting volume '': no filesystem or filesystem options present.
[root@docker01 ~]#
MichaelMattsson
HPE Blogger
Solution

Re: Docker persistent volume clone issue

I think you're on a combination of components that isn't working correctly.
Install version 3.0.0 of the plugin here: https://hub.docker.com/plugins/nimble

Make sure your Nimble array is running 5.1.3 or later.

synagrida
Visitor

Re: Docker persistent volume clone issue

Hello Michael,
Thank you so much.

It is working now.
Best regards.