You can run this instance with docker-compose up
. You require docker compose
You should create secret keys and change the default if you are going to run it in production
curl https://api.wordpress.org/secret-key/1.1/salt/
You can run a bash console with
docker-compose run wordpress bash
and then execute
mysql -u $DB_USER -p$DB_PASS -h $MYSQL_PORT_3306_TCP_ADDR $DB_NAME
Also you can change the url with this command:
update wp_options set option_value='http://192.168.59.103/' where option_name='siteurl'