0

Up to now we used Vagrant+Virtualbox to set up development environments.

The dev environment uses Ubuntu.

This was great, because you can start the dev environment from Linux, Mac, Windows.

But compared to LXD the virtualbox needs a lot of resources CPU/RAM and booting is slower.

Requirements:

  • Support Linux, Mac, Windows as host OS.
  • full OS (included systemd)
  • persistent (changes should not get lost after a reboot).

Is there something like this?

Update

After talking to some people I got convinced that I don't need a full operating system. I will use docker-compose: Each service will be in one container.

3
  • LXD is not virtualization. That’s why it’s faster. Unfortunately, that also means it cannot work on Windows or macOS. That’s a fundamental problem.
    – Daniel B
    Jan 12, 2021 at 10:49
  • @DanielB if LXD is not virtualization, what is it? Sorry, for using the wrong term. AFAIK Docker works on Windows, so a lightweight ...(insert matching term)... does work on windows. Or am I missing something?
    – guettli
    Jan 12, 2021 at 12:22
  • 1
    Docker on Windows runs in a VM, except when using Windows containers with process isolation. Containers is also the correct term. LXC (what’s inside LXD) is literally “Linux Containers”.
    – Daniel B
    Jan 12, 2021 at 15:41

1 Answer 1

0

I found this project: https://github.com/bdellegrazie/docker-ubuntu-systemd

It provides a Dockerfile with systemd.

The README explains the setup.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .