【问题标题】:google-fluentd error on debian stretch (Google Logging Agent)debian Stretch 上的 google-fluentd 错误(Google Logging Agent)
【发布时间】:2018-05-30 01:02:51
【问题描述】:

将我的 docker 映像从 php:7.1.11-apache 升级到 php:7.2.0-apache (FROM debian:stretch-slim) google -fluentd 未找到/安装包。

这是我尝试在安装 google fluentd (https://dl.google.com/cloudagents/install-logging-agent.sh) 的 GKE 中构建 docker 映像时的输出:

W: GPG error: http://packages.cloud.google.com/apt google-cloud-logging-wheezy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3746C208A7317B0F
W: The repository 'http://packages.cloud.google.com/apt google-cloud-logging-wheezy InRelease' is not signed.

运行容器镜像时出现此错误(因为它没有安装):

/bin/sh: 1: /etc/init.d/google-fluentd: not found

按照指南 https://cloud.google.com/logging/docs/agent/installation 我看到了对 Debian 8 的支持。

您知道解决此问题的任何解决方法或解决方法吗?

谢谢。

【问题讨论】:

标签: debian google-cloud-platform fluentd google-cloud-stackdriver google-kubernetes-engine


【解决方案1】:

先添加 apt-key

curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-05-05
    • 2019-12-10
    • 2018-10-24
    • 2019-01-29
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多