I am getting the below error when trying to log onto to a running docker instance and cannot log on.
docker exec -it <my_container_id> /bin/bash
connection error: desc = “transport: dial unix /var/run/docker/containerd/docker-containerd.sock: connect: connection refused”: unknown
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
I would recommend trying to restart the Docker service:
systemctl restart docker
Let me know how it goes. Regards, Bobby
Part of this issue is that I started a task overnight which raised the CPU to 100% for the past several hours, so I may be getting locked out until the internal process times out in some way, not sure when. Got the same error when trying ‘docker stop <my_container_id>’ If this is CPU max-related then would be interested if any way to throttle the CPU at something less than max to allow login.