Skip to content

How to get wp-cli for wordpress image - Error: The site you have requested is not installed. #812

@hexclann

Description

@hexclann

I have a container from WordPress image (not the wordpress:cli), when I run the wp command I get an error:

Error: The site you have requested is not installed.
Run `wp core install` to create database tables.

I tried running the command from root user and also the www-data user but every time I get the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions