# Custom docker volume plugin v2

**URL:** <https://forums.docker.com/t/custom-docker-volume-plugin-v2/143576>\
**Category:** General\
**Tags:** aws\
**Created:** [September 5, 2024, 10:16am UTC](https://forums.docker.com/t/custom-docker-volume-plugin-v2/143576 "2024-09-05T10:16:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flemmissimo](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/flemmissimo/32/50832_2.png) [@flemmissimo](https://forums.docker.com/u/flemmissimo)\
**Post date:** [September 5, 2024, 10:16am UTC](https://forums.docker.com/t/custom-docker-volume-plugin-v2/143576/1 "2024-09-05T10:16:40Z")

</div>

### Expected behavior

Hello, i am developinng a docker plugin for volumes in particular EBS. In the mount path, i return the mountpoint “/mnt/vol-xxxx” that is the path inside my plugin. The ECS task should start without problem.

### Actual behavior

The ECS task start and then it dies with exit error 1. I didn’t see any error on my code than i saw in the [documentation](https://docs.docker.com/engine/extend/plugins_volume/#volumedrivermount) that in the plugin version v1 i should use the mount point in the host EC2, not in the plugin. So my questions are:

1. the problem is that i am returning the mount point of the plugin when he expects the mount point of the EC2?
2. how can i set the version of the plugin to v2? in the config.json file the [documentation](https://docs.docker.com/engine/extend/config/) says that the interface parameter expect only docker volume v1

thank you for your help
