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 GHs5Lk9I0V63OgAA0tVLHw (envelope-from ) for ; Fri, 29 May 2020 17:37:19 +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 CFETKk9I0V79KQAA1q6Kng (envelope-from ) for ; Fri, 29 May 2020 17:37:19 +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 231E0940997 for ; Fri, 29 May 2020 17:37:19 +0000 (UTC) Received: from localhost ([::1]:59948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeiwW-0005MI-EK for larch@yhetil.org; Fri, 29 May 2020 13:37:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeiwJ-0005M8-1U for help-guix@gnu.org; Fri, 29 May 2020 13:37:03 -0400 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]:38635) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jeiwH-0001ly-Ef for help-guix@gnu.org; Fri, 29 May 2020 13:37:02 -0400 Received: by mail-lj1-x242.google.com with SMTP id m18so230439ljo.5 for ; Fri, 29 May 2020 10:37:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kd2htk3HgyDVpUh51l4Kji2ojHV5JfgFuPeTinEmRlY=; b=GvwtbutcCCLFMRVnE8qMnK9nLXvIco6VIyZgsGCjPcCh1aKrrpy0ZgvEDJKlwtWOUH JVTcCBNuvPH2Y0rhq5uSxwygwVVrl6EKnSQHhhhlX0cOrfmvYMrqBa/7EQlitCkjYDJz z2/NlnRQOccK3mCSqTwTzdSAgxp0RhWz3V8r/15Z55pM0CScZaMyxL8IfIfJ8WkqBcRt BM2tVP7A8BUzazBB8aA2FxenqA7cW9SAe0y+QcquisfapBfgNzzpxZ+BPj7p9KLld49r fbiA8jfBZMqus6Mt3Xbtv55xtsmQRJOTNfj2uWX0l01K4bWzciC7wt99z0IzmFuU5a+s QsFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kd2htk3HgyDVpUh51l4Kji2ojHV5JfgFuPeTinEmRlY=; b=iESiXB8ydZVN9xbC+GU5yLUiMUAxMVSCeYwX2ifpCMlH+YzVjk8MgTO9+CHOBUVi34 xmor7jqz1LPfk0Xk86exofStWK06BwUvsqBkiH0iu6dvz+q5Dv47oYLP1JGXPvVzWT5K xF9Irv/Qsw6x6pcssNSpBYdeF1DKbEN7tinHGGwgQUKQwGrQHm+ksexRlfk9qJh4ixPs X0XX2bO7g4BOGsPl3v7t9N3rVhj089cJ2Mm2z/D9u5ukxfEup/sQ8ToVjjuDkOvCQ/Yf y/S7/oHr+YEyDTtcR8Kqvh6WxrFzMw+++73XH6CoQWNN6le/Y2IhsJ8E6hrw65YbvreA E+KQ== X-Gm-Message-State: AOAM531Ge9+deWM3mOigxxIWUO8f77m+YB+Ae0wFzQ9pJEQyUWPFymHo /LKemGc+wCHWgUNVCC/SsQq5hnjYUuajPTmuVDw= X-Google-Smtp-Source: ABdhPJwrZxzFyev2pjBAhtdCr14yZMaHMg+sjPVgDeJbRj7nlUz7attoivXspgZptnyBuODNt6wT3EZq+VEFotIfau0= X-Received: by 2002:a05:651c:1039:: with SMTP id w25mr5035232ljm.30.1590773819497; Fri, 29 May 2020 10:36:59 -0700 (PDT) MIME-Version: 1.0 References: <20200528181043.GC23745@jasmine.lan> In-Reply-To: From: Stephen Scheck Date: Fri, 29 May 2020 13:36:47 -0400 Message-ID: Subject: Re: Guix Docker image inflation To: zimoun Received-SPF: pass client-ip=2a00:1450:4864:20::242; envelope-from=singularsyntax@gmail.com; helo=mail-lj1-x242.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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 Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=Gvwtbutc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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.09 X-TUID: Ygbz4o9HPSsz On Fri, May 29, 2020 at 1:12 PM zimoun wrote: > Dear Stephen, > > I am not sure to follow all the Docker dance. Well, if I understand > correctly, you did: > > guix package --delete-generations > guix gc > > which remove all except the current profile, i.e., ~/.guix-profile. > However, there is another profile '~/.config/guix/current' which is > the profile used when guix pull. Therefore, you have to clean the > generations here too: > > guix pull --delete-generations > guix gc > > Does it reduce the size? > root@localhost /# du -hs /gnu/store 4.3G /gnu/store ### only one generation ### root@localhost /# guix pull --list-generations Generation 12 May 28 2020 20:45:30 (current) guix a5374cd repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: a5374cde918cfeae5c16b43b9f2dd2b24bc3564d root@localhost /# guix pull --delete-generations ### still only one generation ### root@localhost /# guix pull --list-generations Generation 12 May 28 2020 20:45:30 (current) guix a5374cd repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: a5374cde918cfeae5c16b43b9f2dd2b24bc3564d root@localhost /# guix gc finding garbage collector roots... deleting garbage... [0 MiB] deleting '/gnu/store/slwkzcmg6r1lr9a16x3krd2ax384p8wr-guix-system' [0 MiB] deleting '/gnu/store/dzifisbdk1gwy2fw2hwzgvdnjak22awl-guix-extra' [0 MiB] deleting '/gnu/store/rqz825cwaf4866d2aljwkk9qq0g7rmzm-module-import' ### Many more store files (all 0 MiB) elided... deleting `/gnu/store/trash' deleting unused links... note: currently hard linking saves 1181.36 MiB guix gc: freed 0 MiBs ### no space recovered ### root@localhost /# du -hs /gnu/store 4.3G /gnu/store