After upgrade, docker: local_discourse/app is not a valid mac address

I have changed the expose and rebuild but still the same issue.

I am running Haproxy as a reverse proxy to handle HTTPS connection to Discourse. It is running as-is for more than 2 years with already several upgrades.