From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6MfSHaNaCF+cEwAA0tVLHw (envelope-from ) for ; Fri, 10 Jul 2020 12:10:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gATBGaNaCF+1GwAA1q6Kng (envelope-from ) for ; Fri, 10 Jul 2020 12:10:11 +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 8C7119403AA for ; Fri, 10 Jul 2020 12:10:10 +0000 (UTC) Received: from localhost ([::1]:55248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtrqz-0005kV-6Z for larch@yhetil.org; Fri, 10 Jul 2020 08:10:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtrqr-0005jQ-Eq for help-guix@gnu.org; Fri, 10 Jul 2020 08:10:01 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jtrqo-0000yJ-VU for help-guix@gnu.org; Fri, 10 Jul 2020 08:10:01 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1594382994; cv=none; d=zohomail.com; s=zohoarc; b=leGqU8bL1sGGJt1OKCocDHBMNP3Y4XiTjgJR5V2nYJZRbEJgWts39YHKJma33QNGq7Xqny0kdCCNqyjgyovTINnk9ghbf08RT4ZB9JwWxY5/Jh+oM0DBlkRUOugOcQrRJLFN91vyuZ9mxLKFv4cUvCMhU0b8BCofYh/PWpMkcJI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594382994; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=R1EOqK90Xc+fS+UL60HdLXHhk+AolxL9ipHwV7aJmCw=; b=NvTDtyr6KN8LTvmxTod7cZ/JZ9fyttkt3w+S5I62CeVvcEYVXApijk4cs75KM/5QK8QJQnGDCqslbwSlz+IXbb+IG6D/i76eFEnWCj+QHJmPbihlm+1/nR29nDPDXrl+FgsQaaJ7mTM9mgI4poJlp1Qw96lGc51cqhdQM2SfMR4= 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= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1594382994; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=R1EOqK90Xc+fS+UL60HdLXHhk+AolxL9ipHwV7aJmCw=; b=ZgIZ/qsYnCCmP7IePKvfl4nC06Fjqb24fNcUXKk4UyeXoyDyzt2pOPATD/Qq4DB0 Z/5qfMz6oiPt+0xsQ3VR5yx7vK9uyfgSQ22z40Ttg6Ze0iDSy9pai2Oz3cXpjg5onVd YmetV7sZn+DqgrogrVr4WWneeT13rRpK5wUWRkBI= Received: from localhost (p54ad4d70.dip0.t-ipconnect.de [84.173.77.112]) by mx.zohomail.com with SMTPS id 159438299143387.96084453241497; Fri, 10 Jul 2020 05:09:51 -0700 (PDT) References: User-agent: mu4e 1.4.10; emacs 26.3 From: Ricardo Wurmus To: Roy Lemmon Subject: Re: docker In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 10 Jul 2020 14:09:47 +0200 Message-ID: <87d053k1v8.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/10 08:09:56 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.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_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=ZgIZ/qsY; 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-Spam-Score: -0.71 X-TUID: AyFOEsVScSVh Hi Roy, > I would like to run a docker application on my guix system. However I need > to have the docker daemon running. Do I simply add this to my config.scm > file e.g: > > (use-modules (gnu) (docker) ) No, this would load the (gnu) module and the non-existant (docker) module. If we had a (docker) module this still wouldn=E2=80=99t do what you want, as it would only make code available. Please take a look at the Guix manual. In section =E2=80=9C8.8.31 Miscella= neous Services=E2=80=9D there is a heading =E2=80=9CDocker Service=E2=80=9D (I fo= und this by hitting =E2=80=9Ci=E2=80=9D for =E2=80=9Cindex=E2=80=9D in my Info reader, followed= by =E2=80=9Cdocker=E2=80=9D). It says this: --8<---------------cut here---------------start------------->8--- The =E2=80=98(gnu services docker)=E2=80=99 module provides the following s= ervices. -- Scheme Variable: docker-service-type This is the type of the service that runs Docker (https://www.docker.com), a daemon that can execute application bundles (sometimes referred to as =E2=80=9Ccontainers=E2=80=9D) in iso= lated environments. -- Data Type: docker-configuration This is the data type representing the configuration of Docker and Containerd. =E2=80=98package=E2=80=99 (default: =E2=80=98docker=E2=80=99) The Docker package to use. =E2=80=98containerd=E2=80=99 (default: CONTAINERD) The Containerd package to use. =E2=80=98proxy=E2=80=99 (default DOCKER-LIBNETWORK-CMD-PROXY) The Docker user-land networking proxy package to use. =E2=80=98enable-proxy?=E2=80=99 (default =E2=80=98#f=E2=80=99) Enable or disable the use of the Docker user-land networking proxy. =E2=80=98debug?=E2=80=99 (default =E2=80=98#f=E2=80=99) Enable or disable debug output. --8<---------------cut here---------------end--------------->8--- This is from a section on system services, so you=E2=80=99ll need to add something like this to your configuration file: --8<---------------cut here---------------start------------->8--- (use-modules (gnu services docker)) =E2=80=A6 (operating-system =E2=80=A6 (services (cons* (service =E2=80=A6) (service =E2=80=A6) =E2=80=A6 (service docker-service-type (docker-configuration (debug? #t))) =E2=80=A6)) =E2=80=A6) --8<---------------cut here---------------end--------------->8--- If you don=E2=80=99t need any extra configuration =E2=80=9C(service docker-service-type)=E2=80=9D should be sufficient. --=20 Ricardo