Upgrade Matomo docker

I have Matomo 4.9.1 running in a docker using the official matomo docker image (matomo:latest) . I upgraded through the webinterface to version 4.10, that is working fine. But if I stop my docker and run it again to uses the new matomo docker image I get this error: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘matomo.matomo_tagmanager_container’ doesn’t exist. Is this a bug or is there another way of updating Matomo and the Matomo docker image?