我正在尝试在 Docker 中安装和设置insightops(log-entries) Linux 代理以在容器中使用日志条目代理
添加 Dockerfile-
FROM ubuntu:16.04
RUN apt-get update -y
COPY Linux_Insight_Agent/ /app/
RUN chmod u+x /app/agent_installer.sh
RUN ./app/agent_installer.sh install_start
在构建图像时,它向我抛出了错误------------------------- ------
Installing systemd service [INFO]
Failed to connect to bus: No such file or directory
Configuration file /etc/systemd/system/ir_agent.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Created symlink /etc/systemd/system/default.target.wants/ir_agent.service, pointing to /etc/systemd/system/ir_agent.service.
如果需要在 docker 容器上设置它,请任何人都可以帮助我并建议我另一种方式。
注意:我不想使用 insightops(log-entries) docker 代理。
文档如下:https ://insightops.help.rapid7.com/v1.0/docs/insight-agent-on-linux