Update to docker 23 (#2577)

fix #1807
This commit is contained in:
Patrick Schratz
2023-10-14 12:39:45 +02:00
committed by GitHub
parent be460a46ac
commit 1b98e58014
3 changed files with 10 additions and 10 deletions

View File

@@ -144,7 +144,7 @@ func (e *docker) SetupWorkflow(_ context.Context, conf *backend.Config, taskUUID
log.Trace().Str("taskUUID", taskUUID).Msg("create workflow environment")
for _, vol := range conf.Volumes {
_, err := e.client.VolumeCreate(noContext, volume.VolumeCreateBody{
_, err := e.client.VolumeCreate(noContext, volume.CreateOptions{
Name: vol.Name,
Driver: volumeDriver,
})