Docker pi-hole admin page showing "lost connection to API" after upgrade to ubuntu 18.04

This thread has the info you should need