Skip to content

Commit 308a006

Browse files
committed
fix docker client initialization
1 parent 6588864 commit 308a006

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

containers/dockerd.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ var (
1919

2020
func DockerdInit() error {
2121
c, err := client.NewClientWithOpts(
22-
client.WithHost("unix://"+proc.HostPath("/run/docker.sock")),
23-
client.WithVersion("1.12"),
22+
client.WithHost("unix://" + proc.HostPath("/run/docker.sock")),
2423
)
2524
if err != nil {
2625
return err

0 commit comments

Comments
 (0)