• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Question Docker WordPress default passwords

iratefox

New Pleskian
Hi everyone,

I'm trying to setup a Docker container with the official WordPress image and just cannot get this going.

I tried the out-of-the-box settings in Plesk and I got as far as the initial WordPress setup screen but I don't know the DB user/pass at this point and cannot seem to find a location/way of obtaining this.

I tried setting environment variables for SQL db/user/pass and WP vars and it always fails with "MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known". With this, the WordPress setup screen is not shown. At least without using these variables it seems to actually install - i just don't know the credentials.

Any ideas how I might solve this? I've never had to setup WordPress using Docker before but I've set up a number of other applications and didn't hit such basic issues. Unfortunately, there seems to be nothing in search results that I have been able to successfully use.

Thanks
 
May I ask why you need WordPress in docker? Why aren't you using the awesome Plesk WordPress Toolkit specially made for WordPress hosting?
 
Back
Top