MDATP在Docker中安装

发布于 2025-02-10 07:34:24 字数 645 浏览 2 评论 0原文

我正在尝试将Windows Defender安装在Docker容器中。 但是在Docker构建时面临以下错误。

系统尚未用SystemD作为Init System(PID 1)启动。不能 操作。无法连接到总线:主机降低

Docker文件:

FROM openjdk:11

RUN apt-get -y update

RUN apt-get -y install curl

RUN curl -o microsoft.list https://packages.microsoft.com/config/debian/10/prod.list

RUN mv ./microsoft.list /etc/apt/sources.list.d/microsoft-prod.list

RUN apt-get install -y gpg

RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -

RUN apt-get install apt-transport-https

RUN apt-get -y update

RUN apt-get install -y systemd

RUN apt-get install -y mdatp

I am trying to install windows defender in a docker container.
But Facing the following error while Docker Build.

System has not been booted with systemd as init system (PID 1). Can't
operate. Failed to connect to bus: Host is down

Docker File :

FROM openjdk:11

RUN apt-get -y update

RUN apt-get -y install curl

RUN curl -o microsoft.list https://packages.microsoft.com/config/debian/10/prod.list

RUN mv ./microsoft.list /etc/apt/sources.list.d/microsoft-prod.list

RUN apt-get install -y gpg

RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -

RUN apt-get install apt-transport-https

RUN apt-get -y update

RUN apt-get install -y systemd

RUN apt-get install -y mdatp

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文