Use new function to create Docker client
What does this MR do?
Use new function to create Docker client
Why was this MR needed?
client.NewClient
has been deprecated
https://github.com/docker/engine/blob/18.06/client/client.go#L286-L296
and removed in later versions for the library.
What's the best way to test this MR?
- Make sure Docker tests pass
- Run CI jobs using the Docker executor
What are the relevant issue numbers?
closes #26613 (closed)
Edited by Steve Xuereb