From 4c3e7bd057c1df8b5234c2b3c3fa132ad27ba227 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 8 Dec 2023 11:27:44 +0000 Subject: [PATCH] =?UTF-8?q?Update=20Blog=20=E2=80=9Cusing-containers-in-ni?= =?UTF-8?q?xos=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/posts/using-containers-in-nixos.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/posts/using-containers-in-nixos.md b/content/posts/using-containers-in-nixos.md index 2b4dc01..44c5ada 100644 --- a/content/posts/using-containers-in-nixos.md +++ b/content/posts/using-containers-in-nixos.md @@ -1,8 +1,14 @@ --- title: Using containers in NixOS -date: 2023-12-05T05:40:53.004Z +date: 2023-12-08T11:27:39.010Z summary: NixOS allows running arbitrary Docker containers declaratively, these are some of my notes on my usage of this functionality. draft: true --- +NixOS comes with the ability to [declaratively manage docker containers](https://nixos.wiki/wiki/NixOS_Containers#Declarative_docker_containers), which functions as a nice escape hatch when something you want to run doesn't have a native Nix package or is not easy to run within NixOS. + +All the available configuration options can be found [here](https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=alpha_desc&query=virtualisation.oci-containers.containers), so rather than explain all of it I'll just walk through my own experience of getting a container up for [Linkding](https://github.com/sissbruecker/linkding). + + + `podman containers list` works only if you're root, not with `sudo podman containers list`. \ No newline at end of file