unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Service dockerd could not be started. (Kernel module 'overlay' not loaded.)
@ 2020-03-11 10:59 Pierre Neidhardt
  0 siblings, 0 replies; only message in thread
From: Pierre Neidhardt @ 2020-03-11 10:59 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]

Hi!

I've just added (service docker-service-type) to my list of services,
then run a `guix system reconfigure`, but dockerd fails to start.

/var/log/docker.log reports:

--8<---------------cut here---------------start------------->8---
time="2020-03-11T11:45:41.325992616+01:00" level=error msg="'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded." storage-driver=overlay2
time="2020-03-11T11:45:41.326017293+01:00" level=error msg="[graphdriver] prior storage driver overlay2 failed: driver not supported"
--8<---------------cut here---------------end--------------->8---

Turns out that I needed

--8<---------------cut here---------------start------------->8---
sudo modprobe overlay
sudo herd restart dockerd
--8<---------------cut here---------------end--------------->8---

Can't Guix make sure the overlay module is loaded when the dockerd?

Related question: Can we configure Guix to load given modules on
startup?  (Not in the initrd.)

Cheers!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-11 10:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-11 10:59 Service dockerd could not be started. (Kernel module 'overlay' not loaded.) Pierre Neidhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).