How do i create named docker volumes using cloud-config?

As the title says: “How do i create named docker volumes using cloud-config?”

And how i do use them in services?

1 Like

@felixsanz just mount volume as named. It’ll be created automatically.

Example:

services:

some_service:

volumes:
- my-named-vol:/data