all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Installing software inside containers
@ 2023-11-26 21:42 Caleb Herbert
  2023-11-27 22:09 ` Wojtek Kosior via
  0 siblings, 1 reply; 5+ messages in thread
From: Caleb Herbert @ 2023-11-26 21:42 UTC (permalink / raw)
  To: help-guix

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-20 21:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-26 21:42 Installing software inside containers Caleb Herbert
2023-11-27 22:09 ` Wojtek Kosior via
2023-12-03 13:27   ` Edouard Klein
2023-12-19 21:59     ` Edouard Klein
2023-12-20 21:27       ` Caleb Herbert

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.