Kann mir jemand dabei helfen?

This is expected.

A container is not a VM. When you need to update software inside a container, you simply use another newer image.

Please read the documentation: Docker - Upgrading - Pi-hole documentation