• Hi guys.

    I have WordPress in docker/container and ‘wp-cli’ fails:

    -> $ ~/bin/wp –http=https://ale.xyz –user=me plugin list
    Error: This does not seem to be a WordPress installation.
    Pass –path=path/to/wordpress or run wp core download.

    I’m new to wordpress & cli so I assumed the message is about the remote installation and not about local host from which I’m connecting – correct?

    I add ‘–path=’/var/www/html’ – which is where WordPress, in the container, resides, but error remains the same.

    What am I missing here?

    many thanks, L.

Viewing 1 replies (of 1 total)
  • Have you tried the official WordPress image?
    >> https://hub.docker.com/_/wordpress

    Not sure if that image contains WP-CLI. If it’s not there you may need create your own image and add the wp-cli to the image and then start a container.

    I think it’s a good idea to take a look a few Docker courses.
    I personally have a Virtual Machine that has Ubuntu installed and there I have docker installed


Viewing 1 replies (of 1 total)
  • The topic ‘wp-cli remote over https – fails’ is closed to new replies.