I've had really poor experience doing anything with container deployed consumer apps in Linux. As soon as you even look at going out of the happy path, things immediately start going sideways.
flatpak and snap are both containerization-adjacent technologies for consumer apps, docker containers are not really intended for that use case.