From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Sassmannshausen Subject: A few questions about guix containers Date: Sat, 11 May 2019 16:21:40 +0200 Message-ID: <87sgtlxea3.fsf@gmail.com> Reply-To: alex.sassmannshausen@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hPSsi-0008Jj-UQ for help-guix@gnu.org; Sat, 11 May 2019 10:21:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hPSsi-0004Wd-17 for help-guix@gnu.org; Sat, 11 May 2019 10:21:44 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:45935) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hPSsh-0004WJ-QA for help-guix@gnu.org; Sat, 11 May 2019 10:21:43 -0400 Received: by mail-ed1-x536.google.com with SMTP id g57so9699817edc.12 for ; Sat, 11 May 2019 07:21:43 -0700 (PDT) Received: from watership ([2a02:a03f:3e9e:2500:2076:c6ce:380:ede3]) by smtp.gmail.com with ESMTPSA id c48sm2347660edc.76.2019.05.11.07.21.40 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 11 May 2019 07:21:41 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix Hello, I'm trying to get to grips with Guix's container support. Specifically, I can create containerised system using $ guix system container /path/to/sysconf.scm I should then be able to run commands in that container using $ guix container exec PID CMD But here's the rub: how do I find the PID of the container launched using 'guix system container'? Also, I can relatively straight forwardly map network ports to guix systems using $ guix system vm /path/to/sysconf.scm and qemu's -net user,hostfwd syntax Can I achieve similar mappings using 'guix system container'? Is anyone using containers to test complex networked services in system configurations? Best wishes, Alex