summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2025-03-13 18:35:54 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2025-03-13 18:38:18 +0000
commit2ea9f1593932b9ded5846e7ae1b0770b5cfdf8c7 (patch)
tree687493c5ff95cfb0d8a9683508c50bebf6154f2c
parent49127b1156fb2bad3a728369ed12d8fe980d8c21 (diff)
downloadmeta-virtualization-2ea9f1593932b9ded5846e7ae1b0770b5cfdf8c7.tar.gz
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 <bruce.ashfield@gmail.com>
-rw-r--r--recipes-containers/docker/docker.inc2
1 files changed, 1 insertions, 1 deletions
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() {
125 125
126 126
127SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" 127SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}"
128SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker.socket','',d)}" 128SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker.service docker.socket','',d)}"
129SYSTEMD_AUTO_ENABLE:${PN} = "enable" 129SYSTEMD_AUTO_ENABLE:${PN} = "enable"
130 130
131# inverted logic warning. We ony want the sysvinit init to be installed if systemd 131# inverted logic warning. We ony want the sysvinit init to be installed if systemd