Why is docker-containerd-shim managing apache2 processes?

Hi all,

I’m trying to configure apache with certbot to automatically renew my certificates.
On the same machine I have a number of docker containers running. The apache2 sits in front and routes requests to the right container.

Now, in order to automatically renew certificates apache2 needs to be shutdown for just a brief moment.

The problem I’m having is that docker-containerd-shim is apparently managing a number of apache2 instances. These are managed outside of apache2ctl, so I can’t shut them down on certbot renew.

Why is docker-containerd-shim managing apache2 processes?

I’ve lost control over the apache2 service because I have docker containers. Sounds completely illogical to me.

Thank you,
Kristof.