[Solved] Run second os in docker [closed]


Docker does not has an “OS” in its containers. In simple terms, a docker container image just has a kind of filesystem snapshot of the linux-image the container image is dependent on. All Linux distributions are based on the same kernel, so you could, for example, run a filesystem based on Ubuntu in a container.

A container/image could contain an Ubuntu filesystem snapshot with something like this:

FROM ubuntu:21:04

However, the container is not in and of itself a virtualized environment in the same way that a Virtual Machine is.

solved Run second os in docker [closed]