From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0G4PDL1U92V3bwAA62LTzQ:P1 (envelope-from ) for ; Sun, 17 Mar 2024 21:38:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 0G4PDL1U92V3bwAA62LTzQ (envelope-from ) for ; Sun, 17 Mar 2024 21:38:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=retrospec.tv header.s=fm1 header.b=RxeEV+X6; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="B XgarRc"; 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=1710707901; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2sPja2hGAREyv6uDWOFe3kXH2HaUeg1O6Hszu5gmFss=; b=JNZxgrv4xQrV6jjrLUUbyBmTHZ/w4TbkP81sa3C4vrHWcLRl/OCrEf8ndEoTC/vNQC8zWX 2BLzwB4WzVRLh704pSl9tAnMXpzddPGabYNr+DqxMB5NMdJ1nps7t2+6SVA4MRJOruGQAR rkltM9PfP6eKkRW6NTB8EcuxFa7Gg/R44nzOoZmgXNS8HDVShF25YVFEtZEqH567dI2HGu EBdjaU0+teFjgVqN9d5I3Gearq2npPME8sEyMhLyPt3/pzrqKeKrTZ5rpThUy98t0qTOqU SJva3YJxbfJD/9mLr+JkJkbZvj9WdwAieQd0FnPxttckGmEnEUA+luo8lS20VQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=retrospec.tv header.s=fm1 header.b=RxeEV+X6; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="B XgarRc"; 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=1710707901; a=rsa-sha256; cv=none; b=CC1i6tRSHdK5/4nW41KKNvOiD4DVB+qUKUSNndSCq45pzTQ08f/4ZK525aMenn6a3bHEgT utIEXreh9oSjACmMnjjC+loSGGglvJt7QAO+Et02i7BGchyxlkGddzegtsRf0vC/43Qnv+ rwxONOGE8Zs6eZ/EDdI2ybzdbNcSyQ+VBFygu/iopsJVozjy38JBwfYB3Qinwn2MQC29St LwlO2ZAvy2KtjsJX0Ekztlk0vhrqioNNsSNawhBzcOZkBi7hZQ4ZG8bMPI9AP2KR0G6SiE srXxvoqZ6pRb9UEw0fHwaB91HHB50HD//G1jTt/Z1qpkEeIU2q9jBc1TEUpw4w== 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 55C0C517D3 for ; Sun, 17 Mar 2024 21:38:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlxGP-0006op-5i; Sun, 17 Mar 2024 16:37:49 -0400 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 1rlxGN-0006nP-JE for help-guix@gnu.org; Sun, 17 Mar 2024 16:37:47 -0400 Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlxGL-0007wt-I6 for help-guix@gnu.org; Sun, 17 Mar 2024 16:37:47 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 5404D11400B8; Sun, 17 Mar 2024 16:37:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 17 Mar 2024 16:37:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1710707864; x=1710794264; bh=2sPja2hGAREyv6uDWOFe3kXH2HaUeg1O6Hszu5gmFss=; b= RxeEV+X6atcgXxPixaK51HK2jr3eIODy2tyTbvtYJdgkKugvPjW32L3vu4IEvbX0 ezkcWB6vy/26nsrp8yEdUI2i4M9F7ytu6fNpk192vYPOZgQFvKN3tfHguAMylMR7 0uC7RTypwU33vlee8dnQQSQLK9PIRVf3wOwgXFIwIyEsalhI7Q8ecvaSrfGOIaEw IPA7MBThIr18TgRWbQDGr3/dZa4K47B41QXEYIUUAoN1YrlX3CUxViG6Okgyg+25 EUc89bstqwE67GVAFApA5BEdVHhfdMvt85JSVhaFoakXGo7HPWyoc/8Zoyh0yBOM tDz1VRXlgs1J+fztfPbZBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1710707864; x= 1710794264; bh=2sPja2hGAREyv6uDWOFe3kXH2HaUeg1O6Hszu5gmFss=; b=B XgarRcAI9vkOoY9rPGIdWo1nCI66UgltNJCpT3Cr0qdtBPWVuhv4i/A7SJF+dpCp NIrO0KW2XwilLTCRgWaY0VA5yLzAOFVXJc3+fW+DZEPqdO+ZxPUpOXwZdPJiMVaN fd4dBrE/Z7uqncmbtV2ZWQF5rbMJjXjcoBGRYR0ChDnLt2dJ7IAhLNfAZsYgweOW 7aHdg6PYIKSVFxiYiMDChhZUSqEacXb+AJzkUCzZvE2Ns8Jj8xEzFqpdlNhiK6Pn Ou20pvnuemjV7oSpA89J0R2taxjGZRMUxH1WyRL0+Z4+Dzn7Q6mL+BXN2k2PFGeJ hkqCb4kAPWtg73Z/EaLng== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrkeehgdduudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvvefuffgjkfggtgfgsehtqhertddtreejnecuhfhrohhmpefkrghn ucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggtrdhtvheqnecuggftrfgrthhtvghrnh ephfelvedtieeffffggeeivdeukedutedtveejfffhleeileefheeggfdugfeiuefhnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihgrnhesrh gvthhrohhsphgvtgdrthhv X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 17 Mar 2024 16:37:43 -0400 (EDT) References: <87o7djlp9t.fsf@rodrigomorales.site> <87il3rr8as.fsf@rodrigomorales.site> <1490502251.1052552.1710098230842@fidget.co-bxl> User-agent: mu4e 1.8.13; emacs 28.2 From: Ian Eure To: Samuel Schmidt Cc: Rodrigo Morales , help-guix@gnu.org Subject: Re: Error when trying to run "docker-compose up" Date: Sun, 17 Mar 2024 13:16:42 -0700 In-reply-to: <1490502251.1052552.1710098230842@fidget.co-bxl> Message-ID: <871q88vbl5.fsf@meson> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=103.168.172.156; envelope-from=ian@retrospec.tv; helo=fhigh5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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-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: -9.49 X-Spam-Score: -9.49 X-Migadu-Queue-Id: 55C0C517D3 X-Migadu-Scanner: mx13.migadu.com X-TUID: KIN/XE7iMzQY Samuel Schmidt writes: > Hello, > > I am facing the same problem, but I have to use docker-compose.=C2=A0 > I guess there are no plans to fix this atm? :/ Or did you find=20 > any help regarding this problem? > > Am 17.01.2024 um 21:53, Rodrigo Morales =20 > schrieb:Rodrigo Morales writes: > >> Does anyone know what could be the problem? > > I found this thread [1] on help-guix from 2019 where a user=20 > reports > having errores with docker-compose. A user replies: > > #+BEGIN_QUOTE > The root of this problem is that our docker-compose package is=20 > very > old: it was added in January 2016(!), and has never been updated > since. I guess that proves how unneccessary Docker is once=20 > you've > discovered Guix=E2=80=A6 ducks > #+END_QUOTE > > Furthermore, I noticed that the version of docker-compose is=20 > 1.29.2 and > upstream [2] is at 2.12.0, so even if I fix this problem. I'll=20 > be using > an old version of docker-compose. For my use case, it would be=20 > more > useful to use the latest version of docker-compose, so if I=20 > wanted to > use docker-compose under Guix, I would need for me to write a=20 > Guix > package for that version. > Note also that this is a Docker Compose v1->v2 upgrade. The newer=20 version is completely different from v1, it=E2=80=99s a plugin that=20 integrates with the Docker CLI, so you run `docker compose' rather=20 than `docker-compose'. We likely need a completely new package=20 for it. > I have one question: The user above states that Docker is=20 > unnecessary > once you have discovered Guix. I have been using Guix for around=20 > 6 > months, but I don't see how I could use Guix for running a web=20 > server on > a container that uses node.js and postgresql. The reason why I=20 > initially > wanted to use docker is because I find it more convenient to run=20 > a web > server with node.js and postgresql. Any information on this=20 > topic is > appreciated. > I continue to find both Guix and Docker useful. While they have=20 some overlapping goals, I don=E2=80=99t believe either can replace the=20 other. The closest thing to Docker Compose I=E2=80=99m aware of that you can do=20 with pure Guix is create an operating-system with the services you=20 want to run, then use `guix system image -t docker=20 my-machine-definition.scm' to bundle it as a Docker image. This=20 will bring up a container with the base Guix and those services=20 running inside. This setup lacks some niceties which Compose has: Everything seems to run in the same namespace[1], so a compromise=20 of one service is more likely to compromise the whole system.=20 Compose is more resistant to this, since each service runs in its=20 own namespace (that is, container). I don=E2=80=99t know of a Guix=20 equivalent for the Compose style of multi-container setup. I haven=E2=80=99t compared, but I strongly suspect the image sizes are=20 larger than an equivalent plain Docker image, due to having the=20 base Guix inside them, whereas many Docker images use (or have the=20 option of) an Alpine base. It can only run things with a Guix package and Shepherd service to=20 manage it. Updates are likely slower than vendor-provided Docker images. It=E2=80=99s also a more involved setup -- you have to write the config,=20 and build the image, and load it, and run it. In fact, I have yet=20 to actually make a system image that works *at all*. Compose is=20 dead simple in comparison. =E2=80=94 Ian [1]: At least, if Shepherd can run services in their own=20 namespaces, like Docker can, the manual is silent on the topic.