You could also do something like `timeout 10s docker stop -t -1 container-name`, or even `docker kill -sTERM container-name` and then checking whether the container actually stopped (with an appropriate delay in case NGINX actually *does* start shutting down and just takes a little bit).
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065423 Title: Update AppArmor template to allow confined runc to kill containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/containerd-app/+bug/2065423/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs