From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UPKKAAS8s17kFAAA0tVLHw (envelope-from ) for ; Thu, 07 May 2020 07:43:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sO7nBRC8s16SawAA1q6Kng (envelope-from ) for ; Thu, 07 May 2020 07:43:12 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2B46B940BD0 for ; Thu, 7 May 2020 07:43:08 +0000 (UTC) Received: from localhost ([::1]:39134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWbBT-0005ub-9e for larch@yhetil.org; Thu, 07 May 2020 03:43:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWbBO-0005uU-Na for guix-patches@gnu.org; Thu, 07 May 2020 03:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58633) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWbBO-0006xc-Eo for guix-patches@gnu.org; Thu, 07 May 2020 03:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWbBO-0006zn-CZ for guix-patches@gnu.org; Thu, 07 May 2020 03:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41041] [PATCH] doc: Add container example to run a web browser. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 May 2020 07:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41041 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Neidhardt Cc: 41041@debbugs.gnu.org Received: via spool by 41041-submit@debbugs.gnu.org id=B41041.158883736926858 (code B ref 41041); Thu, 07 May 2020 07:43:02 +0000 Received: (at 41041) by debbugs.gnu.org; 7 May 2020 07:42:49 +0000 Received: from localhost ([127.0.0.1]:41946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWbBA-0006z7-MN for submit@debbugs.gnu.org; Thu, 07 May 2020 03:42:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWbB7-0006yq-OL for 41041@debbugs.gnu.org; Thu, 07 May 2020 03:42:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45975) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWbB1-0006ux-Jd; Thu, 07 May 2020 03:42:39 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35660 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jWbB0-00032R-3M; Thu, 07 May 2020 03:42:38 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200503081258.21873-1-mail@ambrevar.xyz> Date: Thu, 07 May 2020 09:42:35 +0200 In-Reply-To: <20200503081258.21873-1-mail@ambrevar.xyz> (Pierre Neidhardt's message of "Sun, 3 May 2020 10:12:58 +0200") Message-ID: <87zhakdwd0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.6 (/) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 X-Spam-Score: -1.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Scan-Result: default: False [-1.01 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49758828455812]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.11), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; DWL_DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ludo@gnu.org,guix-patches-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[ambrevar.xyz:email]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[9]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: OrqmRnFOCFLm Hi, Pierre Neidhardt skribis: > * doc/guix.texi (Invoking `guix environment'): Add paragraph and example = to > run Eolie in a guix environment container. Add `container' cindex for = the > first container example, and the `certificates' cindex for the web brow= ser > example. Good idea! > +@example > +guix environment --container --network --expose=3D/etc/machine-id \ > + --expose=3D/etc/ssl/certs/ \ > + --share=3D$HOME/.local/share/eolie/=3D$HOME/.local/share/eolie/ \ > + --ad-hoc eolie coreutils nss-certs dbus -- \ > + env DISPLAY=3D$DISPLAY eolie Instead of =E2=80=98env=E2=80=99, you can preserve the =E2=80=98DISPLAY=E2= =80=99 variable with: guix environment -E ^DISPLAY$ =E2=80=A6 which in turn allows you to remove =E2=80=98coreutils=E2=80=99, maybe. Otherwise LGTM! Thanks, Ludo=E2=80=99.