From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +k99Lbn9fGAfZgAAgWs5BA (envelope-from ) for ; Mon, 19 Apr 2021 05:49:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gHdFJ7n9fGD2CgAAB5/wlQ (envelope-from ) for ; Mon, 19 Apr 2021 03:49:13 +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 22EAD2A89F for ; Mon, 19 Apr 2021 05:49:13 +0200 (CEST) Received: from localhost ([::1]:35234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYKuN-0005Xz-Ik for larch@yhetil.org; Sun, 18 Apr 2021 23:49:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYKuE-0005Xq-0v for help-guix@gnu.org; Sun, 18 Apr 2021 23:49:02 -0400 Received: from knopi.disroot.org ([178.21.23.139]:48566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYKuC-000445-0K for help-guix@gnu.org; Sun, 18 Apr 2021 23:49:01 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id CC2E950DDE for ; Mon, 19 Apr 2021 05:48:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N12S0HvYKg9F for ; Mon, 19 Apr 2021 05:48:56 +0200 (CEST) References: <87r1jheb0y.fsf@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1618804136; bh=iINbxernxvi1DHzPRt8ZZekJWb7mL6EaSl/E9A2SD1E=; h=References:From:To:Subject:In-reply-to:Date; b=KC39HEljGo/hw63+bD5ADcFSOZABIPluWVQ5DtMctvPB7wx6ya6W4+bjU7hw1VO1Q hYSnGEPwnKlhR4hQz53Pzg/saU/hKyEi6kAR/HEVpY6D5tGV3KIHpjAa0KzSQofMpk YgFJLYyoWpD4WfKxRcNsEoYB624YoTx1CvxaV+3I6lTupIyMzqohTc7ropsP/FKHrT waL/iFMH0W4xY9jY0qfOVjkNNBCiHyIvJHFCvpAVdmfC9tylOwkVwi6d+Q014Ku8LC OHPX9j65I1NDqrjf8MiU1Xrbj3aVZSr8lJ16PFEs1aZ2EP/9WugV51fXzlWnjKhiA9 wb9HH5dQy1pAw== From: Bone Baboon To: help-guix@gnu.org Subject: Re: Build docker image In-reply-to: <87r1jheb0y.fsf@disroot.org> Date: Sun, 18 Apr 2021 23:48:55 -0400 Message-ID: <87pmyrkk7s.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=bone.baboon@disroot.org; helo=knopi.disroot.org 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, 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: , 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=1618804153; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=Dittp9pJrhRRglsHvA07Xv3lPUW+kVFU6xOQkDFrWME=; b=qGi+fDK+rcOuNPr8fE3CVanXaIGp0agt5L6CLRah0qYCc01EqkbsbnXe62t158dOdSR2WI 959hrFOlD/pRm4rnehb3NJLkfQ5R5vihyqa7su0WbLKkGQlEhl8fswrMX+tZmAiiEYtsoK bcrteQfKgCA9M/uDwYR3Ug3ezG+lXTtP4URKPWbViPPC91OHDmf/eqB00NZGQwEGI64S+i YLmDwNKdTpN2o6Eu4zUtviCdSOgPKh6F2X7llLugsrhnS9DUvtJDh1UWTvRlvhGC12aJct cjNWC207tHTvLPIn26SrQV+9Y0T0Bbeg4ne+wvcuKmz/ccAzNt/HxwHLJc/dZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618804153; a=rsa-sha256; cv=none; b=WrmAPoiDJN7LKpTLqA7+8quBbw3wm4Z4Z4RhSluoih+Tm4+m50I1QJ4P4X3RmnxKp+b0eW atv9QFmCEx2xppXZLzYS+lAfAvu0YpfkuYikhh9oYbwXutc2IKOQckhXkji56KU9O72qio rvzZnJFL+WZMJYy5bzFrDa2DYGB+Z9XGbyckT1Kk3nlmO55z4eoBTQOQCUuIGOEJAYlW9n qMNES9yo02aKDauIJPrCeBdj36clcM7vb7broux4wNyM6iNH8a/t7SZfkGT7HhOEDTHauF E6KQ6TQ7x3YzaA0KYjd6YMejOdosnTubfzzSH96i9damRTc+iVLFWPN6spn16g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=KC39HElj; dmarc=pass (policy=quarantine) header.from=disroot.org; 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: -2.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=KC39HElj; dmarc=pass (policy=quarantine) header.from=disroot.org; 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: 22EAD2A89F X-Spam-Score: -2.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5OpId3Rlz6qi I have got the dockerd service working. I ran into many error messages along the way. "guix system: error: service 'dockerd' requires 'networking', which is not provided by any service" This was solved with `dhpc-client-service-type`. "guix system: error: service 'dockerd' requires 'dbus-system', which is not provided by any service" This was solved with `dbus-service`. "guix system: error: service 'dockerd' requires 'elogind', which is not provided by any service" This was solved with `elogind-service-type`. I made these additions to my system configuration to get the dockerd service working. I added these imports: ``` ((gnu services dbus) #:select (dbus-service)) ((gnu services desktop) #:select (elogind-service-type)) ((gnu services docker) #:select (docker-service-type)) ((gnu services networking) #:select (dhcp-client-service-type)) ``` I added these to the services section of the operation system declaration: ``` (service dhcp-client-service-type) (dbus-service) (service elogind-service-type) (service docker-service-type) ``` Then I reconfigured the system. `sudo herd start dockerd` was not working. I restarted the computer and dockerd was working. Now `docker build -t .` is successful. Bone Baboon writes: > I am trying to build a docker image. > > I have added `docker` and `docker-cli` to my system configuration and > reconfigured the system. The `docker` command needs a docker daemon > running. > > I have added the docker service to the system configuration file with > `(service docker-service-type)` in the list of services. When I try to > reconfigure the system I get this error message "guix system: error: > service 'dockerd' requires 'networking', which is not provided by any > service".