• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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