You should research running docker on the internet and seek answers to basic question. Are you running docker as root? Have you hardened your docker host? Do you trust that the nextpvr stable docker is secure enough without getting Ubuntu patches.
And finally what are you trying to protect and have you sufficient backups in place to feel comfortable.