You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I am correct it is currently not possible to use cluster volumes in a docker-compose.yml file like with docker commands: https://github.com/moby/moby/blob/master/docs/cluster_volumes.md
On the service level the volume directive only supports pipe,npipe,tmpfs and volume . Probably a cluster type should be added or the top level volumedirective needs a type parameter.
The text was updated successfully, but these errors were encountered:
According to this doc, such a volume can be created by docker volume create with adequate driver options, and listed by docker volume ls. So you should be able to do the same with a top-level volume (not by service) entry to use the required driver and driver-opts, or refer to an external volume by name if you want to use an existing one.
Description
If I am correct it is currently not possible to use cluster volumes in a
docker-compose.yml
file like withdocker
commands:https://github.com/moby/moby/blob/master/docs/cluster_volumes.md
On the service level the
volume
directive only supportspipe,npipe,tmpfs
andvolume
. Probably acluster
type should be added or the top levelvolume
directive needs atype
parameter.The text was updated successfully, but these errors were encountered: