Docker Community Forums

Share and learn in the Docker community.

View kubernetes startup logs

Kubernetes is not working for me. etcd is not starting. I’d like to see some logs.

How can I increase the log level in Docker for Desktop?

Are any logs written in other places ( not on the linux vm, maybe on the windows host)?

I’ve looked in these places and have not seen a reason for etcd failing

  1. logs of the kubernetes containers, “docker logs k8s_POD…”
  2. under my home directory AppData\Local\Docker
  3. logs on mobylinux host with:
    docker run -it --net=host --ipc=host --uts=host --pid=host --security-opt=seccomp=unconfined --privileged --rm -v //:/host alpine cat /host/var/log/docker.log | less

Thanks.