On Wed, Jan 15, 2020 at 11:43:25PM +0100, Jimmy Thrasibule wrote: > I got it working by using > > > (bootloader (bootloader-configuration > (bootloader grub-efi-bootloader) > (target "noop"))) > > (file-systems (list (file-system > (device "noop") > (mount-point "/") > (type "noop")))) > > > Your suggestion seems to be working for (file-systems) but not (bootloader): > > Wrong type argument in position 1 (expecting struct): #f Here's what I typically use for my guix system containers: (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "does-not-matter"))) (file-systems %base-file-systems) ;; No firmware for VMs. (firmware '()) ;; We don't need any packages inside the container. (packages '()) Based on other discussions, it seems that (bootloader #f) may also work. > > > Le mer. 15 janv. 2020 à 21:19, Julien Lepiller a > écrit : > > > Le 15 janvier 2020 15:01:18 GMT-05:00, Josh Marshall < > > joshua.r.marshall.1991@gmail.com> a écrit : > > >I'll second this. It is one of my expected use cases. > > > > > >On Wed, Jan 15, 2020, 13:32 Jimmy Thrasibule > > > > > >wrote: > > > > > >> Hi, > > >> > > >> I'm trying to use Guix in order to create a Docker image. However, > > >I'm > > >> forced to set both ``bootloader`` and ``file-systems`` initializers: > > >> > > >> system.scm:29:0: error: missing field initializers (bootloader > > >> file-systems) > > >> > > >> For a Docker image this is quite unexpected. I'm wondering whether > > >there is > > >> a way to bypass this limitation? > > >> > > >> Regards, > > >> Jimmy > > >> > > > > Not sure if that will work, but have you tried: > > > > (bootloader #f) > > (file-systems '()) > > > > ? > > > > -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted