2020-05-11 12:36:21 -07:00

14 lines
284 B
Go

package containerd
import (
"github.com/containerd/containerd"
)
func (d *Driver) isContainerdRunning() (bool, error) {
return d.client.IsServing(d.ctxContainerd)
}
func (d *Driver) getContainerdVersion() (containerd.Version, error) {
return d.client.Version(d.ctxContainerd)
}