It is not possible, even if by "containing all rings" you mean "containing all rings, up to isomorphism".
You can prove it in much the same way you prove that there are infinitely many primes:
- Take any set of rings $X$.
- Consider the ring $2^{\bigcup X}$ (functions with pointwise addition and multiplication modulo $2$).
- This ring is larger than any element of $X$ (by Cantor's theorem), and therefore not isomorphic to any of them, so $X$ does not contain representatives for all isomorphism classes of rings.
The thing is, there are arbitrarily large rings. If a class contains arbitrarily large objects, it can't be a set (not even up to isomorphism, if the isomorphisms are bijections), at least not in ZF set theory, the same argument applies to groups, fields, algebraically closed fields, Banach spaces etc.
On the other hand, it makes sense (and is sometimes useful, i.e. for constructing universal objects) to consider the class of all objects of given size, up to isomorphism. For example, there is certainly a set of all rings of cardinality smaller than $2^{2^{2^{2^{\aleph_0}}}}$, up to isomorphism. This set will likely contain all rings you would ever care to think about (or something isomorphic to them).