From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8PE7CTxHiGATFgEAgWs5BA (envelope-from ) for ; Tue, 27 Apr 2021 19:17:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aBTGAzxHiGDkDAAA1q6Kng (envelope-from ) for ; Tue, 27 Apr 2021 17:17:48 +0000 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 7FCFF14FB4 for ; Tue, 27 Apr 2021 19:17:45 +0200 (CEST) Received: from localhost ([::1]:35274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbRL9-0000eA-Nw for larch@yhetil.org; Tue, 27 Apr 2021 13:17:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbRGK-0005Vg-P5 for help-guix@gnu.org; Tue, 27 Apr 2021 13:12:40 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:41689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbRGI-0007hZ-Ci for help-guix@gnu.org; Tue, 27 Apr 2021 13:12:40 -0400 X-Originating-IP: 185.213.154.168 Received: from neinpad (unknown [185.213.154.168]) (Authenticated sender: mail@davie.li) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 246C7C0009; Tue, 27 Apr 2021 17:12:33 +0000 (UTC) References: <87r1jheb0y.fsf@disroot.org> <878s5g3cd7.fsf@davie.li> <87r1j7kl6r.fsf@disroot.org> User-agent: mu4e 1.4.15; emacs 27.2 From: David Dashyan To: Bone Baboon Subject: Re: Build docker image In-reply-to: <87r1j7kl6r.fsf@disroot.org> Date: Tue, 27 Apr 2021 20:11:51 +0300 Message-ID: <87h7jrodns.fsf@davie.li> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.198; envelope-from=mail@davie.li; helo=relay6-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619543865; 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=sFTmuBW4nSzYczZuhtAGBDxeBp+xKN6cbd+Mk2kLf9s=; b=UmcRk2P+T/bvsgrUzqXxEs9qT/nrcrm+Pq9Tj3HGjP+6q21GFRBulWGoPiaNG2oX0TzZCD knfb26pRVR6kkyvG/jkaScO/EslZ6fzWu5w473pEk3WUaW84XD43szGb5XBBzl/b+B7T1B 9lvPqtE/ndrCpqUqRQJwsK4JWRoAoRTSYtLJXPVthyPlY4eYDcxhoGILDsBjegvMq+wtxo 3+Iwhi9OgcOWX20FMFbcQhxHn36s973w5JDHeyGGyFkbH9hl1XfzYCS5En5fuWt9JtRKuo pG2nk4BFddaQBwRfys5CY1gz/ojUrLxRtAeCKuPxSqlP8hU1prKlnHWplv0inA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619543865; a=rsa-sha256; cv=none; b=fmwJJSLbtmDBPkOLiNNxz2t7krUjoKr304UdhH3hXROK49Hs7Uhwm/5eKs9EfgG1TQ557b toS1BBC+MV1oyulb1XjG92+Vlf6vlQLd1CuzHqLYFgAmw9k+aV1PjZq59f2xNbnNcNdla4 4+4eMcu6ra9oVsh6zGNoQSLr/TKPrzvrR0iUK2PyooIochDPiuiuwDfk1lfx7sv3DAgoQ0 8YVtRNWc+cFueCPcNP6mft/rnyPX2Ra2PNY+u9oa800KOqHJgNpo8ETTgL2GPIY6D/n8wG k6gOSMhUjMWeGK3ZFxgNv1jv2LMB5Gn9DvisVoEF4yOJ6WUWEvRQaeGk2Jr5mA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.09 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 7FCFF14FB4 X-Spam-Score: -3.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: B0fTb9oL5WqT Hello Bone Baboon! Great to hear that you got it working! Bone Baboon writes: > David Dashyan writes: >> It is not 100% clear from your message how do you want to build a docker >> image. I'm assuming that you want to use standard docker tooling and >> you want to have docker daemon on YOUR system. Correct me I'm wrong >> here. > > Yes that is correct `docker build -t .` with a local docker > daemon. > >> Dockder service is one of the services that extends >> shepherd-root-service-type. They form dependency graph which is >> different from extension graph you might have red in guix manual. Each >> shepherd service has "provision" field that defines list of simbols that >> it provides and "requirement" field (defaulting to '()) that defines >> which services it requeres to run. Shepherd uses this information to >> spawn services in right order. But in your case procedure >> assert-valid-graph (found in guix) warned you that graph is invalid >> instead of producing shepherd configuration that will fail when you will >> boot. > > This is a nice feature. > >> So. You need a service that provisionts 'networking! > > It seems odd that a service does not take care of services it needs. > It makes me think of a package that does not include the dependencies it > needs to run. I'm not sure why it is done this way. Perhaps because you could have different service types providing same provision symbols? And you as a user/admin chose which to chose. And also the dependency graph of guix services enourmos as package dependency graph :) -- David aka zzappie