this post was submitted on 18 Mar 2025
22 points (100.0% liked)

Nix / NixOS

2052 readers
7 users here now

Main links

Videos

founded 2 years ago
MODERATORS
 

I’ve recently discovered nixos containers and was wondering if there where any pros/cons of running them vs. Docker containers. Like if one needs to run a containerised service, would it be better to run it as a nixos container or a docker container in terms of resource consumption? And are there any limitations of each approach?

you are viewing a single comment's thread
view the rest of the comments

if one needs to run a containerised service

Can you elaborate what you mean by this? Because if a service is not packaged in Nixos, you won't be able to run it in a Nixos container either. Well, you can, but you would have to package/setup it yourself.