How to disable services when Ubuntu loads? [duplicate]

I need to disable docker services when Ubuntu 18.04 starts. I tried with:

update-rc.d -f <service> remove

but this doesn't work.

4

1 Answer

The command to disable services on rebooting of Ubuntu based systems

 systemctl disable servicename

for centos6: chkconfig servicename off

You Might Also Like