MDATP在Docker中安装
我正在尝试将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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论