Docker install: Edit file piwik/config/config.ini.php

Hi, installed Piwik using Docker, added the install to a subdomain and now I’m getting a notice

Warning: You are now accessing Piwik from http://subdomain.domain.com/, but Piwik has been configured to run at this address: http://123.123.123.456/. 
 
Click here to access Piwik safely and remove this warning. You may also want to contact your Piwik administrator and notify them about this issue (). 

How do I fix this problem and how do I login again?
The Piwik Super User can manually edit the file piwik/config/config.ini.php and add the following lines:

[General]
trusted_hosts[] = "subdomain.domain.com"

After making the change, you will be able to login again.
You may also disable this security feature (not recommended). To do so edit config/config.ini.php and add:

[General]
enable_trusted_host_check=0