fix docker client version conflicts
This commit is contained in:
parent
b3a6550ac2
commit
99849a489b
@ -83,7 +83,7 @@ func NewContainer(containerClientApi ContainerClient) *Container {
|
||||
var apiClient ContainerClient = containerClientApi
|
||||
if apiClient == nil {
|
||||
var err error
|
||||
apiClient, err = client.NewClientWithOpts(client.FromEnv)
|
||||
apiClient, err = client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation())
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user