I am using docker binaries on RHEL7 where daemon started using
dockerd &
I also need to do some configuration for which I need to stpr start the docker but I have to kill the process and finding no way out to stop the docker daemon.
I have tried:
$ sudo service docker stop
but it says:
Redirecting to /bin/systemctl stop docker.service
Failed to stop docker.service: Unit docker.service not loaded
I can access my container. I need to find out graceful way of stopping and starting docker rather than kill the process. please help.