The modern approach to software development is increasingly moving away from building massive monolithic applications and is increasingly focusing on split architecture in the form of micro- and nanoservices. Therefore, for applications to be able to maximize the hardware capabilities of server installations (both on-premise and those located in the cloud computing environment) they need solutions that provide a high level of isolation (encapsulation), so that there is no unnecessary interference. Virtualization that provides a high level of isolation, though with some overhead, helps with these problems. In a situation of a much smaller scale, containerization optics will be useful, as it allows to further miniaturize the execution environment. The aim of the presentation is to present the difference between virtualization and containerization, as well as to introduce several examples of the use of each of these technologies.