代码之家  ›  专栏  ›  技术社区  ›  watery

无法在Suse SLES 15上启动cAdvisor

  •  0
  • watery  · 技术社区  · 4 年前

    我想快速尝试一下谷歌 cAdvisor 我试着把它安装在我们的一台开发机器上,但是没有启动。

    运行错误:

    docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/var/lib/docker/containers/4d17ae20e094e5d25764034d6917c0f416345c4825885289969fe91b0cdcf390/mounts/secrets/suse_d79b8f845200220714ccde5c7531b589f6e2b1ebc48ce6a054d71d923c1cfb46_credentials.d\\\" to rootfs \\\"/var/lib/docker/overlay2/bfdb0b307a1a4ea4868e2579a2d634f3799d4462148f2aa2586616cb4cb55025/merged\\\" at \\\"/var/lib/docker/overlay2/bfdb0b307a1a4ea4868e2579a2d634f3799d4462148f2aa2586616cb4cb55025/merged/run/secrets/credentials.d\\\" caused \\\"mkdir /var/lib/docker/overlay2/bfdb0b307a1a4ea4868e2579a2d634f3799d4462148f2aa2586616cb4cb55025/merged/run/secrets: read-only file system\\\"\"": unknown.
    

    docker run \
      --volume=/:/rootfs:ro \
      --volume=/var/run:/var/run:ro \
      --volume=/sys:/sys:ro \
      --volume=/var/lib/docker/:/var/lib/docker:ro \
      --volume=/dev/disk/:/dev/disk:ro \
      --publish=8080:8080 \
      --detach=true \
      --name=cadvisor \
      --privileged \
      --device=/dev/kmsg \
      gcr.io/cadvisor/cadvisor:v0.36.0
    

    码头工人信息:

    # docker --version
    Docker version 19.03.11, build 42e35e61f352
    

    # cat /etc/*-release
    NAME="SLES"
    VERSION="15-SP1"
    VERSION_ID="15.1"
    PRETTY_NAME="SUSE Linux Enterprise Server 15 SP1"
    ID="sles"
    ID_LIKE="suse"
    ANSI_COLOR="0;32"
    CPE_NAME="cpe:/o:suse:sles:15:sp1"
    

    我有什么要换的吗 run

    0.37

    更新

    $ cat /etc/*-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=16.04
    DISTRIB_CODENAME=xenial
    DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"
    NAME="Ubuntu"
    VERSION="16.04.4 LTS (Xenial Xerus)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 16.04.4 LTS"
    VERSION_ID="16.04"
    HOME_URL="http://www.ubuntu.com/"
    SUPPORT_URL="http://help.ubuntu.com/"
    BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
    VERSION_CODENAME=xenial
    UBUNTU_CODENAME=xenial
    
    0 回复  |  直到 4 年前
    推荐文章