You are not worried too much.
Docker containers are notoriously riddled with outdated, security issue loaded content.
Even reputable creators (eg. Nextcloud) only really bother with their own part of the container, but rarely release new builds of their containers when system dependencies could get updated, even less so for base images they depend on.
So yes, Docker containers should always be run in a very secure environment, and doing so is by no means trivial, given that docker itself runs as root
. Best advice, if you can: don't run Docker containers if you don't really have to, don't run docker containers if you are not sure what you are getting into.