// isContainerRunning returns if container is running by containerID
isContainerRunning returns if container is running by containerID
// isContainerRunning returns if container is running by containerID
func isContainerRunning(client *Client, containerID string) (bool, error) {
	containerInfo, err := client.GetContainerInfo(containerID)
	if err != nil {
		return false, err
	}
	return containerInfo.Status.Phase == "running", nil
}
func isContainerRunning ( client * Client , containerID string ) ( bool , error ) { containerInfo , err := client . GetContainerInfo ( containerID ) if err != nil { return false , err } return containerInfo . Status . Phase == " " , nil }
isContainerRunning returns if container is running by containerID
isContainerRunning returns if container is running by containerID