The ps aux output looks like you did not start docker through systemd / systemctl.
It looks like you started with:
sudo dockerd -H gridsim1103:2376
When you try to stop it with systemctl, nothing should happen, since the resulting docker process is not controlled by systemd. So the behavior you see is expected.
The correct way to start docker is to use systemd / systemctl:
systemctl enable docker systemctl start docker
After that, the docker starts at system startup.
EDIT. Since you already have a docker process, just kill it by pressing CTRL + C on the terminal on which you started it. Or send an error signal to the process.
source share