Public bug reported:
Docker can't stop containers because it can't send a signal to it
because of apparmor. There is also a spelling mistake in the error
message.
$ docker stop 35
Error response from daemon: cannot stop container: 35: Cannot kill container
352331e095ca6de50eefaaa4ff3a2b81f056daf71ccb1e2b70a19ea4c1832f5a: unknown error
after kill: docker-runc did not terminate sucessfully: container_linux.go:387:
signaling init process caused "permission denied"
: unknown
$ dmesg
[1092035.379443] audit: type=1400 audit(1553460324.354:286): apparmor="DENIED"
operation="signal" profile="docker-default" pid=15466 comm="docker-runc"
requested_mask="receive" denied_mask="receive" signal=kill peer="unconfined"
$ lsb_release -rd
Description: Ubuntu 18.04.2 LTS
Release: 18.04
$ apt-cache policy docker.io
docker.io:
Installed: 18.09.2-0ubuntu1~18.04.1
Candidate: 18.09.2-0ubuntu1~18.04.1
Version table:
*** 18.09.2-0ubuntu1~18.04.1 500
500 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64
Packages
100 /var/lib/dpkg/status
18.06.1-0ubuntu1.2~18.04.1 500
500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64
Packages
17.12.1-0ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
** Affects: docker.io (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821540
Title:
docker can't stop containers because of apparmor
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1821540/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs