Miab running in Docker Container

My approach for the problems hostname and Firewalls
docker run -d -p 25:25 -p 443:443 -p 80:80 -p 993:993 -p:465:465 -p 587:587 -h “mydomain.lol” -ti --ip “myadress” --ip6 “myadress” --restart=always --name=miab_test ubuntu

and the needed packages and setup commands:

apt-get update -y
apt-get upgrade -y
apt-get install wget sudo curl systemd lsb-core fail2ban nano python-pip netcat-openbsd sed bind9-host locales -y
locale-gen en_US.UTF-8
apt-get purge vim* -y
pip install utils
curl -s https://mailinabox.email/setup.sh | sudo -E bash

but it does interpret phython strange: Can not resolve the paths of the other functions (/setup/preflight.sh does not work - solution: /root/mailinabox/setup/preflight.sh) and at least says that it can not see the ip adress even when the command line at the end of the error messages output both ip s