Using nanovms instead of docker on home server type setup

Hi,

I’ve been meaning to look at unikernals for a while, finally got around to it.
I thought it might be interesting to fit them into how I tend to use oci containers with podman compose. For example I might use claude to pop up the starting point of a project along with the docker(compose) files and test and run it like that - and then move it to a little minisforum box I have at home.

I also have apps like Plex running in containers with the media lib running on a network drive.

My questions..

  1. Am I right in thinking there’s a ‘compose’ type structure you can use like docker-compose files? Haven’t found it in the docs, but could be looking in the wrong place!

  2. For more complex apps like Plex, is a unikernal the right thing? Is it possible? I tries the docker-to-pkg functionality but that didn’t work (which I was expecting :slight_smile: )
    If it is possible what’s the right way of packaging an app like that?

Thanks :slight_smile:

Yes Ops does have basic compose support. Compose | Ops You can also fiind examples at GitHub - nanovms/compose-examples: compose examples .

I don’t know about plex - I’d need to look. If it’s a collection of random binaries that all run on the same instance than there might be work involved in breaking them apart but if it’s a single binary it should be straight-forward or if there are a number of services that can be pulled out into their own service than that would be an option too.

I saw some references to QT so if it’s being used as a desktop application that’s not a great fit for what we’re doing - nanos is really built for server-side applications.

Cool - i’ll have a play with the compose stuff - thanks for that.

Plex is a server based app and as far as I know it’s just a single binary but i’ll get some experience under my belt first, and then maybe give it a go.

I’ll post back when I get anywhere :slight_smile:

1 Like