From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uPwhGkSpzmP9rgAAbAwnHQ (envelope-from ) for ; Mon, 23 Jan 2023 16:35:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eMlUGUSpzmM/dQAAG6o9tA (envelope-from ) for ; Mon, 23 Jan 2023 16:35:32 +0100 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 2450A4401B for ; Mon, 23 Jan 2023 16:35:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJyqj-0003yw-TS; Mon, 23 Jan 2023 10:35:09 -0500 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 1pJyqh-0003yS-OR; Mon, 23 Jan 2023 10:35:07 -0500 Received: from ns13.heimat.it ([46.4.214.66]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJyqf-0003R8-PJ; Mon, 23 Jan 2023 10:35:07 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 0B5B230022D; Mon, 23 Jan 2023 15:34:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Au2uTQSMeI1u; Mon, 23 Jan 2023 15:34:55 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.161.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 1A1C430022C; Mon, 23 Jan 2023 15:34:55 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 89679229F82D; Mon, 23 Jan 2023 16:34:54 +0100 (CET) Received: (nullmailer pid 23597 invoked by uid 1000); Mon, 23 Jan 2023 15:34:54 -0000 From: Giovanni Biscuolo To: Ludovic =?utf-8?Q?Court=C3=A8s?= , "Thompson, David" , Ricardo Wurmus , Olivier Dion Cc: help-guix , guix-devel@gnu.org Subject: declarative containers (was Re: [EXT] Re: Enterprise Guix Hosting?) In-Reply-To: <878rmx3939.fsf@gnu.org> Organization: Xelera.eu References: <8735dzqhge.fsf@beadling.co.uk> <47774701-8E8E-4185-9DB9-7E5D7F91ACD2@yasuaki.com> <87lerbxxfs.fsf@elephly.net> <878rn4syql.fsf@elephly.net> <878rmx3939.fsf@gnu.org> Date: Mon, 23 Jan 2023 16:34:53 +0100 Message-ID: <87wn5dgt7m.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=46.4.214.66; envelope-from=g@xelera.eu; helo=ns13.heimat.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674488132; a=rsa-sha256; cv=none; b=lhpMXAoxt6UTHoXRz24U6C20gKXd+MrWhJyCgdU/+SscfSXKlEdNVLqV8oGqBWnJ0gZFdR yOuLbmQ3PasvFXUrJ1fu6QNyET9Iitium3YuOztzLGPEwzUoLFOBKkiJvITz115Cht0ntL puRYaAXRV4kElTGFjQqc59xMYuNXN15vveNQz/7DboQJXxUPHSfmPSzZiaBboYoN2Twoeb SyaFypqGU04LvFhz0ymbviGHsUzknlfn3BPdXDw/mhHlTbHNfiAPcsYqxL7uBIwPcW+RV2 Edff+toVXkQ1bIv+myuVttkV8JePy+2P3R+FtZZbbj0gLrhwBMP378TyFa+FTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674488132; 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; bh=A0ANIKC10JStGsyrRtxrTELLmQ/yxnLzs7OB/aTc2e8=; b=l5iF1ZYbj5/mFMGHtCKkFHzp5hch2bKiATfyuFEUpdQiXDAFbnMztA7mfJYmpp3j8J7aXO jeMcrweHrVaPtKNlF/HcYZdnhMsSi8J7FZbV/nlZyiExBPEKdNE/8iB6CGiQYCm4/YuECT jHJl5zTfZXu+fGje7X2/xqaaqldpqioA4RMrZ3e9WM2qWr1bY+F4tov7oh2fyJTcRGL7kv 8O0oQyPhst1mWHUWJBn45lgyYDe94U1CirwLpGDmuSbPLhUTI2gcQNjHh0+mD1ktEyIwj+ WjRWvzvJPviwtKNJfC+peL0Ou2XI5pMPaOzunIjPeMWL7LWKAyovB5Jqn+m+Rg== X-Spam-Score: -5.48 X-Migadu-Queue-Id: 2450A4401B X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none X-Migadu-Spam-Score: -5.48 X-TUID: l0TBxm77QaYF --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello everybody, (this is an old thread started on help-guix [1]) Ludovic Court=C3=A8s writes: > "Thompson, David" skribis: > >> On Wed, Aug 31, 2022 at 2:40 AM Ricardo Wurmus wrot= e: >>> >>> Another thing that seems to be missing is a way to supervise and manage >>> running containers. I use a shepherd instance for this with >>> container-specific actions like this: [...] >> Hey that's a real nice starting point for a container management tool! >> So maybe there should be a system service to manage containers and >> then a 'docker compose'-like tool for declaratively specifying >> containers and their network bridging configuration that is a client >> of the service? > > Agreed! We could turn Ricardo=E2=80=99s code into =E2=80=98container-gue= st-service=E2=80=99 or > something and have =E2=80=98containerized-operating-system=E2=80=99 add it > automatically. please there was some progress with this service? once done, could it be possible to declaratively start a whole network of containers using a dedicated home-service, or containerized-operating-systems (also on foreign distros)? right now with "guix system container" we can imperatively manage (start/stop, connect to the console with nsenter) and connect them to the network [2], Ricardo showed us how he do it programmatically; having a declarative interface (os-records) whould be awesome! I'm very interested and willing to test it, if needed thanks! Gio' [1] id:878rn4syql.fsf@elephly.net [2] thank you Ricardo for the cookbook section! https://guix.gnu.org/en/cookbook/en/guix-cookbook.html#Guix-System-Containe= rs =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmPOqR0MHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkSH9oP/2bqs79NF7Stb9uR816KGLIK/ZFL6wey5NyoCH2p BPV65bAiaE/UkzHq5RTC6F5dERCDfgAvLP0kCl2qRAcx3W/ZufMO/t1ofqMxqKnY aHNuvQKwsSMYUSEGPRCxTbFPwDX0f1zacY0mrQZf2tQpzoB0Eiq92Pq8sh22mC5U MURnKk7uB+uXosOAzbedVkfU8NVD27HxmmetZahdF6FjlZDbJDZPpwuL5NEXpL17 IsacEJNwE+Yp8tara0oO+Nj9ybKQMyFkkrRfVD1+C+pfm9r1FRRWR1NlzZunQMzI yjlI06gxU2FsBmIdkqF/asPRoHOnW3eoN+EmHfj38zgy+jwjrJXO1Rji3pboQsth 5MgO0XbczCGEJY51yNxo60Koqoyotj0jnpoUu0ehonphfFyYMlHkxqX84TR6fmz+ CKbqAnGk0h+q5RM4NT1hVKuwT8nQb2x1puzZyNKiCKcnc+EaxHatCaTEhktG7BRg HhSItxIkJJzFf68+VcV92oLwlCPf3Adtm1ISMUz+q+vpjRADSsAnN/Ugo6Wqg/yJ 2xkU5Yz+8QPGfbro1r4iBFBb4Uu4JjAA2v4ATwbFwR+DFhYdykITsoXxWw+NXQDO Himsg/eVgiihvjMQfzvZx3lfaTuulfnlRRa8jiY6fy5Qtfk0UKzLWVL6s+4UCkJX Zy00 =gn1g -----END PGP SIGNATURE----- --=-=-=--