Welcome to the Linux Foundation Forum!

Lab 8.1 error deploying cAdvisor with Docker

I get the following error when I try to deploy cAdvisor using Docker for lab 8.1. Any advice?

$ 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 \
> gcr.io/google-containers/cadvisor:v0.36.0

Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Error: statfs /var/lib/docker: no such file or directory

Comments

  • I have a similar problem
    docker: Error response from daemon: error while creating mount source path '/host_mnt/private/var/lib/docker': mkdir /host_mnt/private/var/lib/docker: operation not permitted.
    Any help on that ?

  • chrispokorni
    chrispokorni Posts: 1,763

    Hi @baena1979,

    Does docker have the correct permissions on your system?

    Regards,
    -Chris

Categories

Upcoming Training