Trouble using Jetpack Docker development environment
-
I’m running on a Windows 10 system with WSL 2.
Having trouble with setting up the Jetpack development environment. I suspect I’m misunderstanding something basic. Appreciate any advice/pointers!
Have been attempting to following at instructions for the recommended Docker environment:
https://github.com/Automattic/jetpack/blob/master/docs/development-environment.md
https://github.com/Automattic/jetpack/blob/master/tools/docker/README.md
Steps to reproduce the issue:
1. docker pull automattic/jetpack-wordpress-dev
2. run the imageWhat I expected:
Access to the development environment
What happened instead:
Container runs /usr/local/bin/run, which eventually times out.
Logs show:
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
Downloading WordPress 5.7.1 (en_US)…
md5 hash verified: cb9211912f9665943723ee0d9a7fa096
Success: WordPress downloaded.
Creating wp-config.php …
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Waiting for creating wp-config.php until mysql is ready to receive connections
Setting other wp-config.php constants…
Xdebug: [Log Files] File ‘/var/log/php/xdebug_remote.log’ could not be opened.
Error: ‘wp-config.php’ not found.
Either create one manually or use
wp config create.
The topic ‘Trouble using Jetpack Docker development environment’ is closed to new replies.