help-guix
[Top][All Lists]
Advanced

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

Service dockerd could not be started. (Kernel module 'overlay' not loade


From: Pierre Neidhardt
Subject: Service dockerd could not be started. (Kernel module 'overlay' not loaded.)
Date: Wed, 11 Mar 2020 11:59:24 +0100

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: signature.asc
Description: PGP signature


reply via email to

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