Subject: bug#38432: closed (Re: bug#55936: dockerd fails to start on boot)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 14 Jul 2022 01:42:02 +0000

Your bug report

#55936: dockerd is not started automatically

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
55936: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55936
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#55936: dockerd fails to start on boot
From: Maxim Cournoyer <[email-masked]>
To: Oleg Pykhalov <[email-masked]>
Cc: [email-masked]
Date: Wed, 13 Jul 2022 21:40:53 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Oleg,

Maxim Cournoyer <[email-masked]> writes:

> Hi,
>
> Maxim Cournoyer <[email-masked]> writes:
>
>> Hi Oleg,
>>
>> Oleg Pykhalov <[email-masked]> writes:
>>
>>> Fixes <https://issues.guix.gnu.org/38432>.
>>>
>>> * gnu/packages/patches/containerd-create-pid-file.patch: New file.
>>> * gnu/local.mk (dist_patch_DATA): Add this.
>>> * gnu/packages/docker.scm (containerd)[source]: Add this patch.
>>> * gnu/services/docker.scm
>>> (containerd-shepherd-service): Add #:pid-file and #:pid-file-timeout.
>>> * gnu/services/docker.scm (docker-shepherd-service): Add --containerd flag.
>>
>> Thanks for this, it looks promising!

[...]

> All that to say that I shall be reviewing your patches shortly :-).

Now done; it all looks good to me!  I've run the docker system test, and
installed it on my machine, rebooted, confirmed it was up, restarted
containerd a couple times and checked the PID content matched its actual
PID, and it seems to behave as expected!

Pushed as b33e1a183f6756514e6b6a3b84054a232dbddad4.

Thank you!

Maxim

Subject: dockerd is not started automatically
From: [email-masked]
To: [email-masked]
Date: Fri, 29 Nov 2019 22:06:10 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

When defined in /etc/config.scm as the manual suggests[1]
>    (service docker-service-type)

dockerd is not started with other services.
It could be started manually by
$ herd start dockerd

[1] https://guix.gnu.org/manual/en/html_node/Miscellaneous-Services.html