Hey!
Ricardo Wurmus skribis:
> From fefd4f02d003dd35bd0ab459ec2ccc9f9ad62ffa Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus
> Date: Tue, 3 Jan 2017 16:20:15 +0100
> Subject: [PATCH] guix: Add Docker image export.
>
> * guix/docker.scm: New file.
> * Makefile.am (MODULES): Register it.
> * guix
Hi Ricardo,
This is awesome! Just a couple things:
1) The amd64 architecture is hardcoded in the image. Should this
instead be set to the current architecture?
2) s/configuratio/configuration/ in the docstring for 'config' in
guix/docker.scm
Ludovic, Ricardo, anyone else: It might be nice if in
Ludovic Courtès writes:
>> --- a/doc/guix.texi
>> +++ b/doc/guix.texi
>> @@ -2438,6 +2438,12 @@ Read a list of store file names from the standard
>> input, one per line,
>> and write on the standard output the subset of these files missing from
>> the store.
>>
>> +@item --export-docker-ima
Ricardo Wurmus skribis:
> Chris Marusich writes:
>
>> What happens if I invoke this command while GC is trying to delete the
>> specified path?
>
> It will do weird things, I guess. It’s best to do this inside of “guix
> environment” as I demonstrated because while you’re in the environment
> t
Howdy!
Ricardo Wurmus skribis:
> Ludovic Courtès writes:
>
>> I’m not familiar enough with Docker but I’m under the impression that we
>> should be able to generate an image without even using Docker. :-)
>
> The attached patch adds a Docker export feature, so you can do this:
>
> docker l
Chris Marusich writes:
> What happens if I invoke this command while GC is trying to delete the
> specified path?
It will do weird things, I guess. It’s best to do this inside of “guix
environment” as I demonstrated because while you’re in the environment
the temporary profile is protected fro
Ricardo Wurmus writes:
> Ludovic Courtès writes:
>
>> I’m not familiar enough with Docker but I’m under the impression that we
>> should be able to generate an image without even using Docker. :-)
>
> The attached patch adds a Docker export feature, so you can do this:
>
> docker load < \
>
Ludovic Courtès writes:
> I’m not familiar enough with Docker but I’m under the impression that we
> should be able to generate an image without even using Docker. :-)
The attached patch adds a Docker export feature, so you can do this:
docker load < \
$(guix archive --export-docker