code: func (container *Container) RestartManager() restartmanager.RestartManager {
  	if container.restartManager == nil {
  		container.restartManager = restartmanager.New(container.HostConfig.RestartPolicy, container.RestartCount)
  	}
  	return container.restartManager
  }
docs: // RestartManager returns the current restartmanager instance connected to container.