• I’m attempting to install wordpress with docker-toolbox using this guide:

    I get to the stage where both the mysql and wordpress containers are running, with ports & filesystem mapped. But when I try to load a page it can’t connect.

    This stackoverflow answer suggests that wordpress is denying requests that aren’t from localhost, but gives no clue as to how to reconfigure this.

    Is that likely to be the problem? How can I proceed?

Viewing 1 replies (of 1 total)
  • Thread Starter synesso

    (@synesso)

    Here’s what I see, from scratch:

    $ docker run --name wordpressdb -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=wordpress -d mysql:latest

    16e01fb1add7994ee7588f73a360019ac6c210bba17b7eecdcbe76a4bb8f0f13

    $ docker run -e WORDPRESS_DB_PASSWORD=password -d --name wordpress --link wordpressdb:mysql -p 127.0.0.2:8080:80 -v "$PWD/":/var/www/html wordpress

    eaabc394834b18ab2ff2fcbfa8451f1e652910a177487858e706c18c1cba7d64

    $ curl localhost:80

    curl: (7) Failed to connect to localhost port 80: Connection refused

Viewing 1 replies (of 1 total)

The topic ‘Install with docker’ is closed to new replies.