Wich operating systems can i run in a Docker container?

hey there,

did i understood it right, that it is not possible to run other operating system images than Windows, or Linux based ones in a docker container?

The purpose of Docker is not to limit yourself to an operating system, but to focus on the application inside the container and allow it to run on Windows, Linux, Mac, Raspberry Pi, etc.

Myself, I like to run VMs with Docker containers in them to compartmentalize by function and make it easy to back up / reboot / migrate an entire VM with multiple containers in it without affecting other containers and their functions. In my experience, Docker is more about streamlining what you can do rather than limiting it to an OS.

1 Like