Skip to content

The VolumeDriver was moved from config to HostConfig since Engine API v1.21 #1543

@mxylin

Description

@mxylin

Symptom: When creating containers on a Swarm (1.2.6) cluster with named volumes using Docker SDK for Python, the named volumes will always be created using local driver whether a volume driver is specified or not.

Cause: VolumeDriver config generated by current version (2.2.1) of Docker SDK for Python to create/run a container is ignored/filtered by Swarm manager.

Please check docker-archive/classicswarm#2669 for detailed description, thank you.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions