Нужна помощь по настройке docker контейнера для plesk panel 12.
сделал контейнер на основе phusion/baseimage
docker run -p 8443:8443 -d phusion/baseimage:latest /sbin/my_init
apt-get update
apt-get install wget
wget -O - http://autoinstall.plesk.com/one-click-installer | sh
Warning!
Unable to detect the fully qualified domain name of the host.
Please make sure that FQDN of the host is correctly specified in /etc/hosts and goes right after the host's IP address
(depending on your OS, you might need to set the host name in /etc/HOSTNAME or /etc/hostname).
Setting it to localhost.localdomain
Trying to resolve hostname 'localhost.localdomain' and validate its IP address...
Unable to resolve host name.
Please specify the host name in the /etc/hosts file or specify DNS configuration in the /etc/resolv.conf on your system.
172.17.0.2 host dc4fd80fccdc
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6[br] localhost6.localdomain6 ip6-localhost ip6-loopback[br]
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
после установка продолжилась и далее показал
Trying to establish test connection... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
failed
Trying to establish test connection... Could not open required defaults file: /root/.my.cnf
Fatal error in defaults handling. Program aborted
failed
One more attempt to connect
ERROR while trying to establish test connection. If you are installing Plesk on an already configured MySQL server, you need to specify the administrator's credentials to succeed with the installation. To do this, you need to create a file - /root/.my.cnf with the 'client' section where you need to provide user and its password ("user = $admin_name" and "password = $admin_pass"). After installation is finished, the file /root/.my.cnf will be renamed to /root/.my.cnf.bak
Check the error reason(see log file: [br]/var/log/plesk/install/plesk_12.5.30_installation.log), fix and try again
Создал файл /root/.my.cnf
[client]
user = root
password = пустой, т.к. запущен в докере.
/etc/init.d/mysql restart
Triggering myisam-recover for all MyISAM tables
на это забил и запустил установку еще раз.
plesk panel установилась, но опять же ругнулась на настройки dns.
WARNING!
Some problems are found during create reverse DNS zone - there is error during utility '/opt/psa/admin/sbin/mk_reverse_zone' execution, please fix the problem and run it again.(see log file: /var/log/plesk/install/plesk_12.5.30_installation.log)
В итоге сейчас с хоста пробую запустить
# curl 0.0.0.0:8443
<html>
<head><title>302 Found</title></head>
<body bgcolor="white">
<center><h1>302 Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
Что дальше делать?