From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: Getting docker cli-plugins in guix Date: Fri, 03 Jan 2020 15:16:19 +0000 Message-ID: References: <87v9pskb9q.fsf@jlicht.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46717) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inOge-0006cv-Cv for guix-devel@gnu.org; Fri, 03 Jan 2020 10:16:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inOgd-0002Bz-4S for guix-devel@gnu.org; Fri, 03 Jan 2020 10:16:28 -0500 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]:43843) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inOgc-00024X-Qq for guix-devel@gnu.org; Fri, 03 Jan 2020 10:16:27 -0500 Received: by mail-qt1-x834.google.com with SMTP id d18so34362092qtj.10 for ; Fri, 03 Jan 2020 07:16:26 -0800 (PST) In-Reply-To: <87v9pskb9q.fsf@jlicht.xyz> 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@gnu.org, Jelle Licht Hello Jelle,=20 On January 3, 2020 11:52:17 AM UTC, Jelle Licht wrote: [=E2=80=A6] >My current idea is as follows: >- Patch our docker-cli package to respect e=2Eg=2E >`GUIX_DOCKER_PLUGIN_PATH', and add it as a search-path >- Attempt to package some docker-cli compatible plugins, which would be >install binaries according to the earlier mentioned search-path=2E > >The advantages of this approach is that it plays nicely with all the >guix commands=2E The biggest drawback would be that we would have to >maintain a bespoke patch for docker-cli=2E Another potential problem >would >be any new security issues introduced using this simplistic approach=2E > >I'd appreciate some feedback from anyone using docker, because this >does >seem like some fairly low-hanging fruit=2E The suggested approach seems sound; I'd go for the same solution myself=2E= Perhaps we could lobby upstream to add an environment variable we could u= se directly in the long term=2E Thank you for working on this! Maxim