add docker specifics
This commit is contained in:
12
local/utl/docker/client.go
Normal file
12
local/utl/docker/client.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package docker
|
||||
|
||||
import (
|
||||
dockerclient "github.com/docker/docker/client"
|
||||
)
|
||||
|
||||
func NewDockerClient() (*dockerclient.Client, error) {
|
||||
return dockerclient.NewClientWithOpts(
|
||||
dockerclient.FromEnv,
|
||||
dockerclient.WithAPIVersionNegotiation(),
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user