// StopContainer stops a running container with a grace period (i.e. timeout).
StopContainer stops a running container with a grace period .
// StopContainer stops a running container with a grace period ( i . e . timeout ) .
func (h *Runtime) StopContainer(rawContainerID string, timeout int64) error {
	err := h.client.StopContainer(rawContainerID, timeout)
	if err != nil {
		glog.Errorf("Stop container %s failed: %v", rawContainerID, err)
		return err
	}
	return nil
}
func ( h * Runtime ) StopContainer ( rawContainerID string , timeout int64 ) error { err := h . client . StopContainer ( rawContainerID , timeout ) if err != nil { glog . Errorf ( " " , rawContainerID , err ) return err } return nil }
StopContainer stops a running container with a grace period .
StopContainer stops a running container with a grace period .