diff --git a/Dockerfile b/Dockerfile index d763715..a7ac573 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,4 +4,6 @@ FROM mcr.microsoft.com/windows/nanoserver:${OSVERSION}-amd64 COPY binaries /tools USER ContainerAdministrator RUN reg import tools\keylight.reg +# Delete DiagTrack service as it causes CPU spikes and delays pod/container startup times. +RUN sc.exe delete diagtrack -f USER ContainerUser