Plesk provides web administrators, application developers, web professionals, hosting service providers, and infrastructure providers a ready-to-code environment to build targeted solutions on.
- Manage plans, subscriptions, accounts, and resellers
- Create domains, sub-domains, and domain aliases
- Easily set up email addresses, email forwarding, and email filters
- Configure databases from a simple web interface
- One-click install and mass-management of WordPress.
- Use port mapped to 8880 to access the control panel.
- Access a scalable and flexible platform
- Migrate legacy platforms
- Standardize shared hosting infrastructure
- Unify User Experience and enable Mobile
To create a container based on Plesk Onyx for evaluation purposes use the following command:
docker run -d -p 8880:8880 plesk/plesk
Use Docker host IP address and 8880 port for URL to open it in the browser. E.g. http://localhost:8880 Default administrator credentials: admin / changeme
Plesk manages a lot of services. One need to open more ports to be able to access some of them:
docker run -d -p 80:80 -p 443:443 -p 8880:8880 -p 8443:8443 -p 8447:8447 plesk/plesk
Another way is to use automatic port mapping (publish all exposed ports to random ports with the high numbers):
docker run -d -P plesk/plesk
Original Dockerfiles - https://github.com/plesk/docker
Official Plesk documentation - https://docs.plesk.com
Is this image usable for production servers?
Log files: /var/log/sw-cp-server/error_log /usr/local/psa/admin/logs/httpsd_access_log /usr/local/psa/admin/logs/panel.log /usr/local/psa/var/log/maillog ==> /var/log/sw-cp-server/error_log <== ==> /usr/local/psa/admin/logs/httpsd_access_log <== ==> /usr/local/psa/admin/logs/panel.log <== [2017-02-07 12:54:16] ERR [panel] SQLSTATE[HY000]  Access denied for user 'admin'@'localhost' (using password: YES): 0: /opt/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php:144 Zend_Db_Adapter_Pdo_Abstract->_connect() 1: /opt/psa/admin/externals/Zend/Db/Adapter/Pdo/Mysql.php:111 Zend_Db_Adapter_Pdo_Mysql->_connect() 2: /opt/psa/admin/externals/Zend/Db/Adapter/Abstract.php:460 Zend_Db_Adapter_Abstract->query(string 'SET sql_mode = ''', array) 3: /opt/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php:238 Zend_Db_Adapter_Pdo_Abstract->query(string 'SET sql_mode = ''', array) 4: /opt/psa/admin/plib/Db/Adapter/Pdo/Mysql.php:30 Db_Adapter_Pdo_Mysql->query(string 'SET sql_mode = ''') 5: /opt/psa/admin/plib/CommonPanel/Application/Abstract.php:90 CommonPanel_Application_Abstract::initDbAdapter() 6: /opt/psa/admin/plib/api-common/AbstractCu.php:1647 AbstractCu::initDb() 7: /opt/psa/admin/plib/api-common/AbstractCu.php:1673 AbstractCu::initCLI() 8: /opt/psa/admin/plib/scripts/task-async-executor.php:4 [2017-02-07 12:54:16] ERR  SQLSTATE[HY000]  Access denied for user 'admin'@'localhost' (using password: YES) tail: cannot open '/usr/local/psa/var/log/maillog' for reading: No such file or directory
I could run the plesk onyx image. But when I want to use the new docker extension of plesk I get an error messages (because of read-only file system).
What do I need to add to the run command to persist all plesk settings and data in mapped volumes?
default login / pwd
hope it saves you a Google search
@genx, It seems you forgot to include "--privileged" option into run command
If you are talking about "latest" or "12.5" tags, then it's necessary to run the container in the privileged mode. Here is an example:
docker run -d -it --privileged -p 8880:8880 plesk/plesk
Using this on Google Container Engine, after logging in with default credentials (admin/changeme), I get a "502 Bad Gateway" nginx error.
Any suggestions on a fix?
The best web development toolset for running your server and creating websites and web apps. Well done guys!