Skip to content

Support for Volume API #329

Closed
Closed

Description

@wlan0

Docker 1.8 allows Volume Plugins
Docker 1.9 exposes Volume APIs - moby/moby#14242

Is support for this already being worked on?

Activity

  1. marcuslinke commented on Sep 22, 2015

    @marcuslinke
    Contributor

    No, this is not implemented yet. Documentation is here:

    https://github.com/docker/docker/blob/master/docs/extend/plugins_volume.md
    https://docs.docker.com/extend/plugins_volume/

    Seems this needs an additional VolumeDriver field in the HostConfig of CreateContainerCmd only. Any hints/suggestions?

  2. wlan0 commented on Sep 22, 2015

    @wlan0
    Author

    Going forward, docker will provide apis for creating, updating, listing and deleting volumes. These APIs are collectively called as Volume APIs. This feature is already available in docker:master (added as a part of this commit - moby/moby#14242) and is a part of the docker 1.9 milestone. The support for this in docker-java will be needed.

    VolumeDriver field in CreateContainerCmd is going to be deprecated starting from docker 1.9. (moby/moby#16069). Maybe, this shouldn't be implemented?

    Along with changes to the container create fields, the docker inspect json format has also changed in these releases. Particularly, a new field called "Mounts" is added to the inspect response. This field contains information about where the volumes are present on the host, and which driver is used, etc..

  3. KostyaSha commented on Sep 22, 2015

    @KostyaSha
    Member

    Is 1.9 already released?

  4. marcuslinke commented on Sep 22, 2015

    @marcuslinke
    Contributor

    @wlan0 Thanks for the info. Docker remote API documentation regarding volumes endpoint: https://github.com/docker/docker/blob/master/docs/reference/api/docker_remote_api_v1.21.md#24-volumes

  5. marcuslinke commented on Sep 22, 2015

    @marcuslinke
    Contributor

    @KostyaSha Seems v1.8.2 is current release version.

  6. lordofthejars commented on Nov 4, 2015

    @lordofthejars
  7. added this to the 3.0.0 milestone on Nov 16, 2015
  8. self-assigned this
    on Dec 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions