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
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..
Activity
marcuslinke commentedon Sep 22, 2015
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
VolumeDriverfield in theHostConfigofCreateContainerCmdonly. Any hints/suggestions?wlan0 commentedon Sep 22, 2015
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.
VolumeDriverfield inCreateContainerCmdis 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..
KostyaSha commentedon Sep 22, 2015
Is 1.9 already released?
marcuslinke commentedon Sep 22, 2015
@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
marcuslinke commentedon Sep 22, 2015
@KostyaSha Seems v1.8.2 is current release version.
lordofthejars commentedon Nov 4, 2015
Already released on docker 1.9 http://docs.docker.com/engine/reference/api/docker_remote_api_v1.21/#2-4-volumes