I never had any issues with it. The Docker image is basically a turnkey solution. The only extra step was to set up nginx as a reverse proxy. I wouldn't deploy a complex piece of software like Nextcloud without Docker to be honest, and this is coming from someone who runs stuff bare metal when it is practical to do so.

Edit: In view of the other response, I checked my docker-compose and I am also using the community maintained image (https://hub.docker.com/_/nextcloud) instead of the all-in-one image. It is supported by MariaDB, redis, and aio-talk (for Nextcloud Talk).

Another thing: You should not skip major versions when upgrading. Pin the version in your Docker compose file.