Creeping motion of a sphere along the axis of a closed axisymmetric container