bug-guix
[Top][All Lists]
Advanced

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

bug#34333: Docker daemon failing to start on boot


From: Allan Adair
Subject: bug#34333: Docker daemon failing to start on boot
Date: Wed, 27 Feb 2019 15:17:14 +0100
User-agent: mu4e 1.0; emacs 26.1

Hey Danny.

I'm curious to know if the dockerd service type works for you. It does
not work for me, but maybe I am doing something wrong. Below is my
current config.scm:

(use-modules (gnu)
             (gnu system nss)
             (gnu services))
(use-service-modules desktop docker)
(use-package-modules certs gnome)

(operating-system
 (host-name "guixsd")
 (timezone "Europe/Oslo")
 (locale "en_US.utf8")

  (bootloader (bootloader-configuration
               (bootloader grub-bootloader)
               (target "/dev/sda")))

  (file-systems (cons (file-system
                       (device (file-system-label "my-root"))
                       (mount-point "/")
                       (type "ext4"))
                      %base-file-systems))

  (users (cons (user-account
                (name "allana")
                (group "users")
                (supplementary-groups '("wheel"
                                        "docker"
                                        "netdev"
                                        "audio"
                                        "video"))
                (home-directory "/home/allana"))
               %base-user-accounts))

  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs         ;for HTTPS access
                   gvfs              ;for user mounts
                   %base-packages))

  (services (cons* (console-keymap-service "no-latin1")
                   (gnome-desktop-service)
                   (service docker-service-type)
                   %desktop-services))

  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))


After a "guix system reconfigure", it works -- meaning that the dockerd
service starts. But when booting in the future, the dockerd
daemon never starts. I am however able to execute "sudo herd start
dockerd" after booting because I have included dockerd in my user
profile.  I can also "guix system reconfigure" at this point to start
the dockerd service, but then at the next boot it will still not start.


Danny Milosavljevic writes:

> Hi Allan,
>
> On Tue, 12 Feb 2019 09:05:10 +0000
> Allan Adair <address@hidden> wrote:
>
>> On 2019-02-11 17:31, Danny Milosavljevic wrote:
>> > Hi Allan,
>> > 
>> > I've added some more requirements--let's see.
>> > 
>> > Can you guix pull and guix reconfigure and then try again once more?  
>> 
>> Still no luck. Do you face the same issue?
>
> I don't know since my machine has not finished updating after the
> recent staging to master merge.


-- 
Allan Adair
http://allan.adair.io





reply via email to

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