Dont parse pid when its absent

Also, give a method to access container's ip