• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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