From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8KGqJ9ZComUrcgEAkFu2QA (envelope-from ) for ; Sat, 13 Jan 2024 08:59:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id APSsItZComX4NgAAqHPOHw (envelope-from ) for ; Sat, 13 Jan 2024 08:59:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705132758; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=pyGAGRKNoreuAZh66N/0/Ma3Y+yWudMIKWDoER9jpfQ=; b=gQ6ZcTQzUuumFH78wF6AOHYdNrIYEnEQ6YwmyTSZwfipu+sMMkuaPLZrPL9RaI7Au4/J+Z V8gL90sArC+B66FZOSXWF2ey1fvrNxXXJMURQ/w85mPRYkOhh6llQnAreYIL8kaLNjt6wO R1xUtvBu0NltWEBqccEM4iVzJKZIKt93ujyiWmelDUO571h0ibQcsBjMnmx9rwwA/WM4Lw TtsZJrqIUDEzhnhkrC2N8gZu6CDy6q/1/ocfs4NCA6JFS0CcZNq8AT9lBvJ4M9GjNNcJfz nAp3Q476rQlJxxzjY2+aMkbipoYJiE2oiFw/0IJPx6AFFx0QkJkfv6NgrldPOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705132758; a=rsa-sha256; cv=none; b=PUgtPHgcq2Hs7/CRM5FNZ6uQ35SUJHFJltyX7ViCnwZwX82quCcLoIQYn/agE/WW5S179T NilkZpYGfEY4SmRLMd1yc0nDclBY3wp4kKfHNR897K2ENcTq5FiUt36xhOWWkjnwxnaT1M l82s39rb9UpRHYqhYJ0uL4rtU7/OZaeXU0YsCVnP8/psX7mv+kt0DjEEN8A7/j8s6y5Hd1 3r9cNu36vChNVZRAyxIBCFa8qGLHKxMH0S05h/C/kv2E+GnpwFloyNcozVnnBtA2S5hgkj VKDuA9lls/nU11VHmIkJx7JIZ9lQaX75E8urySA248gJdROEj503JEKwMRV4+A== 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 31CFC58BA7 for ; Sat, 13 Jan 2024 08:59:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOYup-0006wf-Ge; Sat, 13 Jan 2024 02:58:51 -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 1rOOXe-0007Zg-Jn for help-guix@gnu.org; Fri, 12 Jan 2024 15:54:14 -0500 Received: from smtpout1.mo11.mail-out.ovh.ca ([51.161.45.253]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOOXc-00085X-SV for help-guix@gnu.org; Fri, 12 Jan 2024 15:54:14 -0500 Received: from mxplan1.mail.ovh.ca (unknown [10.111.38.43]) by mo11.mail-out.ovh.ca (Postfix) with ESMTPS id A4B9F2010A1 for ; Fri, 12 Jan 2024 16:54:03 -0400 (AST) Received: from rodrigomorales.site (54.39.251.57) by DAG2EX1.mxpca1.local (172.16.2.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 12 Jan 2024 15:54:02 -0500 X-OVh-ClientIp: 181.65.19.141 From: Rodrigo Morales To: Subject: Error when trying to use "docker build" Date: Fri, 12 Jan 2024 15:52:17 -0500 Message-ID: <87h6jinuke.fsf@rodrigomorales.site> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [54.39.251.57] X-ClientProxiedBy: DAG2EX1.mxpca1.local (172.16.2.11) To DAG2EX1.mxpca1.local (172.16.2.11) X-Ovh-Tracer-GUID: be6a1f3f-eab7-49ae-8fb9-ac9879f06dca X-Ovh-Tracer-Id: 12027707231471345175 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrvdeihedgudegtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvufffkfggtghisehttdertddttddtnecuhfhrohhmpeftohgurhhighhoucfoohhrrghlvghsuceomhgvsehrohgurhhighhomhhorhgrlhgvshdrshhithgvqeenucggtffrrghtthgvrhhnpeehueefjefghfelfeehffduhffhteejveegtdejudehlefhffefvedtfeefveeiveenucfkphepuddvjedrtddrtddruddpheegrdefledrvdehuddrheejpddukedurdeihedrudelrddugedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeomhgvsehrohgurhhighhomhhorhgrlhgvshdrshhithgvqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehhvghlphdqghhuihigsehgnhhurdhorhhgpdfovfetjfhoshhtpehmohduuddpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=51.161.45.253; envelope-from=me@rodrigomorales.site; helo=smtpout1.mo11.mail-out.ovh.ca 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 13 Jan 2024 02:58:50 -0500 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.67 X-Migadu-Queue-Id: 31CFC58BA7 X-Spam-Score: -6.67 X-Migadu-Scanner: mx11.migadu.com X-TUID: oGx5+rFT1Rbq I'm using GuixSD and I'm learning how to use Docker. So, I want to use Docker daemon under Guix. I have added =docker-service-type= to my system configuration and reconfigure my system. I have created the following =Dockerfile=. #+BEGIN_SRC sh cat ~/e/foo/Dockerfile #+END_SRC #+RESULTS: #+begin_example FROM alpine:3.4 RUN apk update RUN apk add vim RUN apk add curl #+end_example When I try to use =docker build=, I get the following error: #+BEGIN_SRC text $ docker build -t my/docker-sample:1.0 . Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=my%2Fdocker-sample%3A1.0&target=&ulimits=null&version=1": dial unix /var/run/docker.sock: connect: permission denied $ echo $? 1 #+END_SRC I thought that adding my user to the =docker= group might solve the problem, but it didn't (or at least not in my system). I also thought that restarting the docker daemon using =sudo herd restart dockerd= might solve the problem, but it didn't. How to troubleshoot the error "Got permission denied while trying to connect to the Docker daemon socket at unix:"?