help-guix
[Top][All Lists]
Advanced

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

Installing software inside containers


From: Caleb Herbert
Subject: Installing software inside containers
Date: Sun, 26 Nov 2023 15:42:28 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0

Hi Guix,

I can't install software inside a Guix System container. I need this to use Guix Home inside a container.

$ guix install hello
guix install: error: remounting /gnu/store writable: Operation not permitted

Do I need to --share=/gnu/store?

I tried sharing a blank ./gnu directory, but it complained that there were no programs to run the system.

(Is sharing the host's /gnu/store with a container safe?)

I created the container with

        guix system container --network --share=home container.scm

Also, how do I map arbitrary directories?  With Podman, I would do

        /home/$USER/.container/home/user:/home/user

Thanks,

Caleb



reply via email to

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