Revert to docker 20.10.x for API 1.41 compatibility (#1792)

fix #1786

---------

Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
Patrick Schratz
2023-06-02 15:09:38 +02:00
committed by GitHub
parent 36870d1797
commit 3d0338315f
3 changed files with 10 additions and 12 deletions

View File

@@ -96,7 +96,7 @@ func (e *docker) Load(ctx context.Context) error {
func (e *docker) Setup(_ context.Context, conf *backend.Config) error {
for _, vol := range conf.Volumes {
_, err := e.client.VolumeCreate(noContext, volume.CreateOptions{
_, err := e.client.VolumeCreate(noContext, volume.VolumeCreateBody{
Name: vol.Name,
Driver: vol.Driver,
DriverOpts: vol.DriverOpts,