From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: guix pack -f docker ... Date: Fri, 1 Mar 2019 10:24:02 +0100 Message-ID: References: <20190301.101219.1851554918693413695.kumagusu08@gmail.com> <6C2B982D-A564-488D-9F41-CF51670026B6@lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzeXX-00075A-1a for help-guix@gnu.org; Fri, 01 Mar 2019 04:33:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzeOu-0001uy-SV for help-guix@gnu.org; Fri, 01 Mar 2019 04:24:17 -0500 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:33597) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzeOs-0001tG-Vy for help-guix@gnu.org; Fri, 01 Mar 2019 04:24:16 -0500 Received: by mail-qk1-x731.google.com with SMTP id x9so13895164qkf.0 for ; Fri, 01 Mar 2019 01:24:14 -0800 (PST) In-Reply-To: <6C2B982D-A564-488D-9F41-CF51670026B6@lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Julien Lepiller Cc: help-guix Hi Yoshinori Arai, To add pointers, I recommend you this blog post [1] by Ludo presenting `guix pack`. [1] https://www.gnu.org/software/guix/blog/2017/creating-bundles-with-guix-pack/ Personally, I use something in this flavour: guix pack -f docker \ -S /bin=bin -S /lib=lib -S /share=share \ emacs guile geiser docker load < /gnu/store/-docker-pack.tar.gz docker image ls docker run -ti emacs And depending on your Guix commit (version), the hashes/id should be different. With `guix describe`, I have 89ea625, so `guix pull --commit=89ea625` then - is pg66wnjsg7yyxc0gi5wbrk8dz0i2jyfp - docker TAG is k2nml7smdflwzkgqhqnmy6s0lzambdvl - docker IMAGE ID is 560c357dd4e3 Hope that helps. All the best -- simon