Roma  Karageorgievich Roma Karageorgievich - 4 years ago 296
Linux Question

How permanently kill dockerd?

When I run

in linux terminal I have:

1147 root 20 0 1227548 34604 5784 S 1,7 0,9 1:10.88 dockerd

How can I kill it permanently? I know I can kill it manually by linux
, but at the next work with computer
will be shown again.

Answer Source

dockerd is common Linux daemon, nothing more than that. You should disable it the way suitable for your OS, depending on system services manager used.

Here are some examples (docker service name may vary system to system). First command stops the service, second disables its launch on system start.

For systemd driven OS (e.g. Ubuntu 16.04, RHEL/CentOS 7, Arch Linux), that will be:

sudo systemctl stop docker
sudo systemctl disable docker

For relatively old Ubuntu (before 15.10), using Upstart service manager:

sudo service docker stop
sudo sh -c 'echo manual > /etc/init/docker.override'

For older CentOS6 and some others:

sudo service dockerd stop
sudo chkconfig dockerd off 

et cetera

You should look for instructions on how to disable service for specific OS you're interested in

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download