[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Introducing ‘guix pack’

From: Ludovic Courtès
Subject: Re: Introducing ‘guix pack’
Date: Mon, 20 Mar 2017 16:41:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Ricardo Wurmus <address@hidden> skribis:

> Clément Lassieur <address@hidden> writes:
>> Ludovic Courtès <address@hidden> writes:


>>> As of right now, ‘guix pack’ can create Docker image (‘guix archive’
>>> can no longer do that):
>>>   guix pack guile-next -S /opt/guile-2.2.0= -f docker
>>> I’d be grateful if someone could check with Docker that I didn’t break
>>> anything though.  Any takers?  :-)
>> I just tested it (although I'm probably not the first) and it works
>> (with "docker load").  Thanks!
> I also tested it successfully:
>     image=$(guix pack -f docker -S /opt/gnu/bin=bin r)
>     docker load < $image
>     id=$(docker images -q profile | tail -n 1)
>     docker run --rm --tmpfs /tmp:rw,size=787448k,mode=1777 -ti $id 
> /opt/gnu/bin/R
> This creates an image for R, loads it, starts (and eventually removes)
> a container in which R runs.

Awesome, thank you both for testing!

> For people who find this cumbersome: use containers with Guix instead.
> Here’s how:
>     guix environment --container --ad-hoc r -- R

Indeed!  :-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]