You may encounter the following error messages in Site Health for a WordPress Docker container if not using port 80
Fix either by mapping port 80:80 for the container or changing the WordPress home and URL addresses to the host machine IP instead of localhost.