[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Creating a docker image with Guix
From: |
Chris Marusich |
Subject: |
Re: [PATCH] Creating a docker image with Guix |
Date: |
Tue, 03 Jan 2017 08:24:18 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Ricardo Wurmus <address@hidden> writes:
> Ludovic Courtès <address@hidden> 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-image=$(readlink -f ~/.guix-profile))
>
> [...]
>
> I used it successfully to build an Emacs Docker image like this:
>
> guix environment --ad-hoc coreutils bash emacs-no-x-toolkit
> docker load < $(guix archive --export-docker-image=$GUIX_ENVIRONMENT)
Wow! That's pretty cool. If it's this easy to make a Docker image, I'm
sure it'll be a good incentive for Docker users to try out Guix!
What happens if I invoke this command while GC is trying to delete the
specified path?
> +;; See https://github.com/opencontainers/image-spec/blob/master/config.md
> +(define (config layer time)
> + "Generate a minimal image configuratio for the given LAYER file."
Minor typo.
--
Chris
signature.asc
Description: PGP signature
- Creating a docker image with Guix, Ricardo Wurmus, 2017/01/02
- Re: Creating a docker image with Guix, David Craven, 2017/01/02
- Re: Creating a docker image with Guix, Hartmut Goebel, 2017/01/02
- Re: Creating a docker image with Guix, Pjotr Prins, 2017/01/02
- Re: Creating a docker image with Guix, John Darrington, 2017/01/02
- Re: Creating a docker image with Guix, Ludovic Courtès, 2017/01/02
- Re: [PATCH] Creating a docker image with Guix, Ludovic Courtès, 2017/01/04
- Re: [PATCH] Creating a docker image with Guix, Ricardo Wurmus, 2017/01/05
- Re: [PATCH] Creating a docker image with Guix, Thompson, David, 2017/01/05
- Re: [PATCH] Creating a docker image with Guix, Ludovic Courtès, 2017/01/05
- [PATCH] guix archive: '-f docker' supports package names as arguments., Ludovic Courtès, 2017/01/06
- Re: [PATCH] guix archive: '-f docker' supports package names as arguments., Ricardo Wurmus, 2017/01/07
- Re: [PATCH] guix archive: '-f docker' supports package names as arguments., Ludovic Courtès, 2017/01/08
Re: Creating a docker image with Guix, Christopher Allan Webber, 2017/01/02