You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Guangya Liu (JIRA)" <ji...@apache.org> on 2016/05/10 02:38:12 UTC

[jira] [Created] (MESOS-5354) Update "driver" as optional for DockerVolume.

Guangya Liu created MESOS-5354:
----------------------------------

             Summary: Update "driver" as optional for DockerVolume.
                 Key: MESOS-5354
                 URL: https://issues.apache.org/jira/browse/MESOS-5354
             Project: Mesos
          Issue Type: Bug
            Reporter: Guangya Liu
            Assignee: Guangya Liu


After some test with docker API, I found that when "docker run" to create a container, the volume name is required but volume driver is optional. When using "dvdcli", both name and driver are required. We are now defining the "driver" as required, we should update "driver" to optional so that the DockerContainerizer still works even if user did not specify driver when creating a container with volume.

{code}
message DockerVolume {
      // Driver of the volume, it can be flocker, convoy, raxrey etc.
      required string driver = 1;  <<<<<<<<< Shall we update this to optional?

      // Name of the volume.
      required string name = 2;

      // Volume driver specific options.
      optional Parameters driver_options = 3;
    }
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)