[
https://issues.apache.org/jira/browse/MESOS-5834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15373179#comment-15373179
]
Guangya Liu commented on MESOS-5834:
------------------------------------
The {{driver}} field is an optional field, and also docker suggest creating the
volume explicitly via {{docker volume create}} before using it, if you create
the docker volumes explicitly and do not set {{driver}}, there will be no such
issues; otherwise, the {{stderr}} will show you some error message for {{Error
response from daemon: create aa: conflict: volume name must be unique.}}. Does
this behaviour ok for you?
{code}
message DockerVolume {
// Driver of the volume, it can be flocker, convoy, raxrey etc.
optional string driver = 1;
// Name of the volume.
required string name = 2;
// Volume driver specific options.
optional Parameters driver_options = 3;
}
{code}
> Mesos may pass to the Docker daemon --volume-driver multiple times.
> -------------------------------------------------------------------
>
> Key: MESOS-5834
> URL: https://issues.apache.org/jira/browse/MESOS-5834
> Project: Mesos
> Issue Type: Bug
> Components: docker
> Affects Versions: 1.0.0
> Reporter: Gastón Kleiman
> Labels: mesosphere
>
> https://github.com/apache/mesos/blob/master/src/docker/docker.cpp#L590 will
> append the "--volume-driver" flag to argv once per Volume.
> According to https://github.com/docker/docker/issues/16069 this flag can only
> be specified once.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)