fn get_docker_stats() -> Result<Vec<Value>, Box<dyn Error>>
Function to get docker stats via commandline.
A Result containing a Vec of serde_json::Value if successful, otherwise an empty Vec.
Result
Vec
serde_json::Value