Is there any commutative unital ring $R$ with a unique nonzero proper ideal? In particular, there must be a nonzero proper ideal, so fields don't work.
Clearly, such a ring must be local, and the unique (maximal) ideal $I$ contains every non-unit. If the ring is not reduced (i.e., there exists a nonzero nilpotent), then the nilradical is a nonzero proper ideal, so it must be equal to $I$.
I know $R$ can't be an integral domain, since if $a\in R$ is a nonzero nonunit, then $(a^2)\neq (a)$ are distinct nonzero proper ideals.
I'm not quite sure how to proceed from here. Can such an $R$ exist?