From 2ea9f1593932b9ded5846e7ae1b0770b5cfdf8c7 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 13 Mar 2025 18:35:54 +0000 Subject: docker: enable docker.service by default Some platforms are seeing long (2+ minute) start times to get the docker daemon initialized. This doesn't happen when the daemon is started on boot. To avoid this usability issue, we enable both the socket and service automatically. Signed-off-by: Bruce Ashfield --- recipes-containers/docker/docker.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc index 4e0aa14f..3843f3b6 100644 --- a/recipes-containers/docker/docker.inc +++ b/recipes-containers/docker/docker.inc @@ -125,7 +125,7 @@ do_install() { SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" -SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker.socket','',d)}" +SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker.service docker.socket','',d)}" SYSTEMD_AUTO_ENABLE:${PN} = "enable" # inverted logic warning. We ony want the sysvinit init to be installed if systemd -- cgit v1.2.3-54-g00ecf