Skip to content
mock docker client
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Readme.md
mockdockerd.go
mockdockerd_test.go

Readme.md

Mock Dockerd

A mock tool for local docker testing.

package main

import (
	"context"
	"fmt"

	"github.com/wrfly/mock-dockerd"
)

func main() {

	c := mockdockerd.NewClient()
	resp, err := c.Ping(context.Background())
	if err != nil {
		panic(err)
	}
	fmt.Println(resp)
}
You can’t perform that action at this time.