ERROR: No such service: nginx when building wordpress with docker

I am having an issue in which after the installation of wordpress and the creation of the user with login I am getting a wp error: One or more database tables are unavailable. The database may need to be repaired. and is asking to add the following code to the wp-config.php.

define('WP_ALLOW_REPAIR', true);

I have added this code as asked but is not working.

In addition, I am also adding the error:

ERROR: No such service: nginx
DUMP FILE BEFORE:  -rw-r--r-- 1 macbook staff 30M 1 Mar 17:41 ./db/dmp/bootstrap.sql

I am using macos and I have also trying to rebuild but with no success.

Topic docker nginx Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.