From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yP80A0VvC2WpGAEAauVa8A:P1 (envelope-from ) for ; Thu, 21 Sep 2023 00:16:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yP80A0VvC2WpGAEAauVa8A (envelope-from ) for ; Thu, 21 Sep 2023 00:16:37 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E1E51510BA for ; Thu, 21 Sep 2023 00:16:36 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=i8Ek3jCa; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695248196; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AZJNUrBLSUD8X8O4z3qLh8KPonom/7YoLISMuwUJk18=; b=XXOoHzoHjwML1VY79kUmjFTo10JUqCUgXJyJEmK3RjzVCT1uXvN294oaK8LcIf63t17Lzm xfPvyBgBCB3FyDiBf5GMIgyV1e897/IiNUdR6XpJGPbs4lki/OvbN16Gd1nL6SJtfXJCb3 RfkDe+Vijcuwv14G4oiiF+QVvAAcy77QDpoSvmBIkOnFrvPFNNb9YRoKLs0f6Xd6IowXTi t3j4wb4jSr7fn3sN+PaaETL3vK7abAbUYRNrENORCFU+iJ9Kx2ZeLuJ2wtFEE3QhXV5EZY 8owHRWq9aI0tZjpFwOl0ExFgW7iEFq/i5PkXmY5d13+DVLXkylJOeIVCUWNIEw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1695248196; a=rsa-sha256; cv=pass; b=DFPRDuNhUh6WpCGNwdulJY8tmKFr8U9u2Q8ZSwOmFfw9nqvEIh4V4n5w7AIGw3dR91VIqL HUj8Rj9FIw6OsjC/OuRshRvbqiuj9xn1XdDs0zkKn13vG5pvFPI/rh7uWn1y6IaG9s8uYX lNfYkULSjQznSQilpBAm5C4jzktynvDHyVyZ5WkKqV5+YskJKNYbTs9txhVai8qjnIqb9R YhGezgvhcQkR3SQ/YvPmjExvTNPO6FnhScPc7vxZbdp/z7dpX0lLpPiMA8bN4foLxg1W3q NIPcsONjUTl9oPb03LOeYjuBrnptZw3IebubYxs22mxEC5pLU0OrXsdJhqY8ZA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=i8Ek3jCa; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qj5UG-0000ls-3X; Wed, 20 Sep 2023 18:16:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qj5UD-0000ia-MW for guix-devel@gnu.org; Wed, 20 Sep 2023 18:15:57 -0400 Received: from sender3-of-o57.zoho.com ([136.143.184.57]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qj5UB-00075E-2v for guix-devel@gnu.org; Wed, 20 Sep 2023 18:15:56 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1695248144; cv=none; d=zohomail.com; s=zohoarc; b=D96UIa3BgILK9H2GavAXPl4UBGMdhZQ1Zxp8bpMnTDFZqzSDdJ5uSqBy1Q7y71Vn1Jyh7vlJQL7JgcUg6bJqjU1caaiLO7NFGFjdo8eCZnjwaybQwmuB6kYlh2NCWapbhTsHFX7nGd/9lcQzMNPJatOvRkzf17oIEaNnE6gxgjg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1695248144; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=AZJNUrBLSUD8X8O4z3qLh8KPonom/7YoLISMuwUJk18=; b=aVAswVDmWnZ4tbwIFyh56o0gN7fTdYhGnzT8n+AKHETDG4tue7ZgjbratAg76dOQM3gLdg/IUoc7D8PYb8vtu5ZSZf8F1/NhJcGRtm/KcyeVKsJqmPOroLrrq86xP3oW+FrRbzuMRPJ1f4j8yMalXR0GFO8a1ofTFrB4XVXf0nM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1695248144; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=AZJNUrBLSUD8X8O4z3qLh8KPonom/7YoLISMuwUJk18=; b=i8Ek3jCaRuzBjYsuL1tnsYJHkpAAei8QxrcRRHpIWrXc3fOthrtD49HwEGsoldI4 Argm0LPljKJI3spEGmigZmK9hS/XRxLRy4HUpBgVUU6uodWDB4zgMQF22LR7k+qatKO Zjr/5B9SyVqeet20MsF63afn36VjgDHZEBG6t/uk= Received: from localhost (i5E861B1E.versanet.de [94.134.27.30]) by mx.zohomail.com with SMTPS id 1695248142821782.966731301449; Wed, 20 Sep 2023 15:15:42 -0700 (PDT) References: <07894441-fd4b-a299-d138-5da88c2c42ab@autistici.org> User-agent: mu4e 1.10.7; emacs 29.0.92 From: Ricardo Wurmus To: paul Cc: guix-devel@gnu.org Subject: Re: OCI-backed Guix System Services Date: Thu, 21 Sep 2023 00:12:42 +0200 In-reply-to: <07894441-fd4b-a299-d138-5da88c2c42ab@autistici.org> Message-ID: <87sf788p9w.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.184.57; envelope-from=rekado@elephly.net; helo=sender3-of-o57.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.81 X-Spam-Score: -8.81 X-Migadu-Queue-Id: E1E51510BA X-Migadu-Scanner: mx0.migadu.com X-TUID: l53vdtcYZ4L9 Hi, > I was recently inspired from Nix's oci-container feature and wrote a thin wrapper around the docker CLI to enable the management of > docker containers through Shepherd [0]. This enables handling of non packaged services through guix system reconfigure and herd > start/stop/status . Neat! > To conclude, I'm not advocating for adding OCI-backed services to Guix mainstream: in my opinion they should be bootstrapped and > built from source, but I believe the actual "backend" implementation for such services could be useful to have in Guix. What do you > think? I think this could still be a valuable addition to Guix, because it integrates with Shepherd and thus unifies management of system services independent of whether they came from Guix or from elsewhere. Because integration with Shepherd is nice I wrote the Swineherd which serves a related need: https://github.com/BIMSBbioinfo/swineherd -- Ricardo