Provide functions to make getting logs and inspect from container API a bit safer