marcelo-ochoa / docker-volume-plugins

Managed docker volume plugins
Eclipse Public License 2.0
88 stars 17 forks source link

Additional property name is not allowed #3

Closed ggogel closed 3 years ago

ggogel commented 3 years ago

Describe the bug I'm simply trying to use this plugin to mount a glusterfs volume. I configured my compose file exactly as described in the documentation

volumes:
  jellyfin-data:
    driver: glusterfs
    name: "swarm-volumes/jellyfin-beta_jellyfin-data"

After running docker stack deploy it throws this error: volumes.jellyfin-data Additional property name is not allowed

To Reproduce Steps to reproduce the behavior:

  1. Install plugin
  2. Add volume to compose file
  3. docker stack deploy
  4. See error

Expected behavior The stack should be deployed and volume mounted without error.

Server (please complete the following information):

ggogel commented 3 years ago

Fixed it myself. For the volume name property at least docker compose version 3.4 is required and I used 3.3. Latest is 3.8 by the way, which I am using now.

PaulCyberEngel commented 3 years ago

I'm running this on Ubuntu and I'm still getting this error. I've tried compose v. 3.4 & 3.8.