Created
August 2, 2016 16:31
-
-
Save mrpatrick/7b585a611be1177c12b03d59eaf991af to your computer and use it in GitHub Desktop.
Create new wordpress admin user using wp-cli / docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -e --user=apache -i -t -w /var/www/ --volumes-from PROJECTNAME_PROJECTNAME_1 --link channelone_db_1:db_1 docker.io/avatarnewyork/dockerenv-apache:php56 docker-umask-wrapper.sh /.composer/vendor/wp-cli/wp-cli/bin/wp --allow-root --path=/var/www/html user create admin [email protected] --role=administrator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment