On running docker-compose stop it fails to stop the docker images, and gives an error like this:
docker-compose stop
ERROR: for nginx cannot stop container: 5f5ed6d2110a0
Somehow this worked for me.
$ sudo killall containerd-shim