Ring-shaped fractional quantum Hall liquids with hard-wall potentials