Ranked in these QuestionsQuestion Ranking
Pro High portability
The whole stack can be easily packed and moved.
Pro Fast startup times enable a highly flexible infrastructure
New containers can be quickly spun up based on changing need.
Pro High density
Two to six times more virtual environments can be created via containers as compared to hypervisors for the same hardware cost since containers don't need to emulate hardware and repeating OS elements for each guest OS.
Pro Dynamic resource allocation
Containers can be assigned, for example, more memory during runtime.
Con Security concerns
Since containers are run using shared resources, if any container is compromised, the host is compromised as well.
Many of the security concerns can be alleviated by running containers within hypervisors.
Con Limited to one kernel and OS
All containers on a host will have the same kernel and OS.