Roots are innately mysterious. They consume much of the resources that plants require. They stabilize the stems above them. Few plants can survive without them. Yet, roots are very secretive about their work. Almost all are invisibly subterranean. Consequently, they get minimal consideration. A lack of consideration is a root cause of many root problems.
Every plant species has distinct environmental preferences. Some plants require full sun exposure. Others tolerate or prefer partial shade. Some are more discerning than others. Similarly, plants that naturally disperse their roots extensively dislike confinement of their root systems. Small plants and some riparian plants are more adaptable to confinement.
Annual bedding plants and many small perennials perform well within pots, planters and small spaces because they do not need to disperse their roots extensively. Some woody plants with fibrous root systems, such as azalea, boxwood and andromeda, can adapt to confinement also. Occasional pruning can keep them proportionate to their root volumes.
Most of the popular succulents perform remarkably well in confinement. Some types that disperse their roots extensively if necessary will adapt to confinement by dispersing their roots only as far as they must. If they get all they need within a pot, they need not go any farther. However, succulents that are endemic to dry desert regions are not as adaptable.
Desert plants can survive warm and dry summers because they disperse their roots very extensively. They can not do so within the confinement of pots and planters. This should not be a problem that systematic irrigation can not compensate for. Unfortunately though, these same plants are too susceptible to rot if their roots are damp during warm weather.
So, some plants that are the most resilient in the ground are the least resilient in pots. Of course, this is not an absolute rule. Yuccas from tropical and temperate climates perform well either in the ground or in pots. Those from desert climates are likely to rot in pots. In general, drought tolerance and container gardening are two fads that are not compatible.