diff --git a/images/base/Dockerfile b/images/base/Dockerfile index 9ca4dfae32..c2a37ce96f 100644 --- a/images/base/Dockerfile +++ b/images/base/Dockerfile @@ -115,7 +115,9 @@ RUN echo "Ensuring scripts are executable ..." \ && echo "Ensuring /etc/kubernetes/manifests" \ && mkdir -p /etc/kubernetes/manifests \ && echo "Adjusting systemd-tmpfiles timer" \ - && sed -i /usr/lib/systemd/system/systemd-tmpfiles-clean.timer -e 's#OnBootSec=.*#OnBootSec=1min#' + && sed -i /usr/lib/systemd/system/systemd-tmpfiles-clean.timer -e 's#OnBootSec=.*#OnBootSec=1min#' \ + && echo "Disabling udev" \ + && systemctl disable udev.service # tell systemd that it is in docker (it will check for the container env) # https://systemd.io/CONTAINER_INTERFACE/