OK. Discord support solved the problem. It was due to a database migration problem. Somehow my database got corrupted. The support tried to rectify the the problematic lines but with no result. Deleted the old database and backups and start as a new. So the problem was not due to the docker itself but with a database corruption due to the migration.