Ubuntu Server Cannot Stop Docker Container
Issue: Can not stop docker containers, whenever I try to stop containers I get the following Error message:
sudo docker-compose -f docker-compose.yaml down
Stopping root_wiki_1 ... error
Stopping root_db_1 ... error
ERROR: for root_wiki_1 cannot stop container: 076e67735fb31bba6964e9e30810865855e723ea8ddd28ed764e31329d64c38a: Cannot kill container 076e67735fb31bba6964e9e30810865855e723ea8ddd28ed764e31329d64c38a: unknown error after kill: runc did not terminate sucessfully: container_linux.go:392: signaling init process caused "permission denied"
: unknown
Removing network root_default
ERROR: error while removing network: network root_default id 6976a86a72bb76c62f049de24c71ffad8cb33e6e2fe8692f25e5a6ebc3c0008b has active endpoints
Uninstall AppArmour
sudo apt-get purge --auto-remove apparmor
sudo service docker restart
docker system prune --all --volumes
And re-up your environment.