What is the problem ?
root@hero:/home/intra# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b7f12c671a23 owasp/zap2docker-stable "zap-webswing.sh" 25 minutes ago Up 25 minutes (unhealthy) 0.0.0.0:8080->8080/tcp, 0.0.0.0:8090->8090/tcp quizzical_bartik
root@hero:/home/intra# docker stop b7f12c671a23
Error response from daemon: cannot stop container: b7f12c671a23: Cannot kill container b7f12c671a23517a2c76c02e28a08af34fbe68a6709a09f5a303182656cb7c4d: unknown error after kill: runc did not terminate sucessfully: container_linux.go:388: signaling init process caused "permission denied"
: unknown
root@hero:/home/intra#
Best Answer
Initially I installed docker with snap, but encountered issues and completely removed it, and then installed with apt from docker repository. But it turned out I hadn't removed it completely.
Actually Ahmet did found the correct solution, I'm posting my answer just to show the formatted output for
sudo aa-remove-unknown
: