How to: Create an LMDE Container Image

Is it possible to create a container image of Linux Mint Debian Edition? That is, LMDE w/ the full desktop already installed?

At the moment, I’m working on
a) re-creating the lxd.tar.xz file from the example tutorial using a yaml file that is appropriate (I hope) for debian and the templates object from that *.xz file;
b) squashing the root file system I extracted (unsquashed) from the LMDE ISO; and,
c) then importing that into lxd incus.

Any help would be appreciated (of course).

That didn’t work. It resulted in “E: Architecture isn’t supported”. sigh

I usually use these steps to create custom images:

  • Find a base image for your usecase (in your case probably one of the mint images from images.linuxcontainers.org) and create a container from that
  • Configure that container to your liking
  • Publish that container as an image with incus publish

Right. I typically use a base image for a container and then install a desktop package on it. Unfortunately, as far as I know, the mint images in the container repo are the ubuntu-based images, not the debian-based one.

I’d mint-ify a debian container, but LMDE is more than just installing a desktop (I’m already looking into how much more).

I couldn’t find a way to create a container image w/ LMDE.