unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Zhu Zihao <all_but_last@163.com>
Cc: guix-devel@gnu.org
Subject: Re: A public Lisp programming interface provide feature like `guix environment --container`
Date: Fri, 06 Nov 2020 10:41:09 +0100	[thread overview]
Message-ID: <871rh63jre.fsf@gnu.org> (raw)
In-Reply-To: <86a6vx7pdq.fsf@163.com> (Zhu Zihao's message of "Wed, 04 Nov 2020 11:49:21 +0800")

Hi,

Zhu Zihao <all_but_last@163.com> skribis:

> "guix environment --container" is a very useful feature for me to
> isolate the untrusted software. But sadly it lacks a interface for user
> to use it in Lisp programming.

The interface to containers is in (gnu build linux-container), though
it’s a bit lower-level compared to what ‘guix environment’ does.

See also the example at
<https://lists.gnu.org/archive/html/help-guix/2018-01/msg00118.html>,
which is precisely about your use case.

Thanks,
Ludo’.


  reply	other threads:[~2020-11-06  9:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-04  3:49 A public Lisp programming interface provide feature like `guix environment --container` Zhu Zihao
2020-11-06  9:41 ` Ludovic Courtès [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-11-04  7:38 Leo Prikler
2020-11-04 10:05 ` Zhu Zihao
2020-11-04 10:23   ` Leo Prikler
2020-11-04 10:36     ` Zhu Zihao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rh63jre.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=all_but_last@163.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).