From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: guix pack -f docker and name ? Date: Thu, 16 May 2019 20:47:17 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:46035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRLPf-0001OC-I8 for guix-devel@gnu.org; Thu, 16 May 2019 14:47:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRLPe-0000mt-Nh for guix-devel@gnu.org; Thu, 16 May 2019 14:47:31 -0400 Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:44357) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRLPe-0000mT-Jk for guix-devel@gnu.org; Thu, 16 May 2019 14:47:30 -0400 Received: by mail-qt1-x82c.google.com with SMTP id f24so5124068qtk.11 for ; Thu, 16 May 2019 11:47:29 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Guix Devel Dear, I find a bit annoying 2 things when creating Docker images with `guix pack`. 1. The name of the tar is given at the end of the command `guix pack`. If you forget to track it, then you need to re-run `guix pack` (obviously with the very same parameters) to get it again. It is not super user-friendly. :-) What to think to add an option to name a symbolic link to this file in the store ? Currently, I am doing that by hand: guix pack -f docker ... # copy the name /gnu/store/-docker-pack.tar ln -s paste my-name In general, I choose my-name as - with something to quickly remember what it is and the to be sure of what it is. 2. Once loaded with `docker load < /gnu/store/-docker-pack.tar` then `docker image ls` list all the images. The REPOSITORY and TAG are not super helpful. :-) It is always: profile and . Maybe REPOSITORY should be guix and TAG should be -. Because when one has more than 2 images, after holidays it is not possible to remember or they needs to track in a separate file what it is. Maybe I am missing something. Please correct me if there is way. Or comment if you have suggestion. All the best, simon