unknown error after kill: runc did not terminate sucessfully: container_linux.go:392: signaling init process caused "permission denied" 1

unknown error after kill: runc did not terminate sucessfully: container_linux.go:392: signaling init process caused “permission denied”

$ docker run --rm -it --name test-container --security-opt apparmor=docker-default image-name

Here is what the above code is Doing:
1. We’re running a container named test-container from the image-name image.
2. We’re using the –rm flag to automatically remove the container when it exits.
3. We’re using the –security-opt flag to set the AppArmor profile to docker-default.
4. We’re using the -it flag to run the container in interactive mode.

Similar Posts