Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to restart dockerd?

Context

In my .devcontainer that, I run in GitHub Codespaces, I've installed minikube. Shortly after minikube start I get this message

Executing "docker container inspect minikube took an unusually long time: 10.566089734s*

Restarting the docker service may improve performance.
  1. I'm using docker docker-in-docker feature.
  2. The .devcontainer environment starts docker with dockerd cli.
  3. systemctl is not present.

Question

I'd like to restart docker to improve performance. Is it possible to restart docker without stopping the docked process? Something like sudo systemctl restart docker but with dockerd?

like image 658
Lukasz Dynowski Avatar asked Dec 15 '25 10:12

Lukasz Dynowski


1 Answers

To restart dockerd, restart the docker service itself. For example, sudo systemctl restart docker in ubuntu.

like image 66
Mitch Avatar answered Dec 17 '25 00:12

Mitch



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!