blob: ce01f74f25c0d44ca2b82f7061b0416d3a80bd87 [file] [log] [blame]
package libcontainerd
import "github.com/docker/docker/pkg/locker"
type remote struct {
}
func (r *remote) Client(b Backend) (Client, error) {
c := &client{
clientCommon: clientCommon{
backend: b,
containers: make(map[string]*container),
locker: locker.New(),
},
}
return c, nil
}
// Cleanup is a no-op on Windows. It is here to implement the interface.
func (r *remote) Cleanup() {
}
// New creates a fresh instance of libcontainerd remote. On Windows,
// this is not used as there is no remote containerd process.
func New(_ string, _ ...RemoteOption) (Remote, error) {
return &remote{}, nil
}