Skip to content

Instantly share code, notes, and snippets.

@joelataylor
Last active February 9, 2019 13:03
Show Gist options
  • Save joelataylor/8fda990389398db400127139d8674595 to your computer and use it in GitHub Desktop.
Save joelataylor/8fda990389398db400127139d8674595 to your computer and use it in GitHub Desktop.
Docker commands

Update WP domains

docker exec -it globalx_wordpress_1 /bin/bash wp --allow-root search-replace 'https://www.globalxfunds.com' 'http://globalxfunds.test:8888'

or run externally

docker exec globalx_wordpress_1 bash -c "wp --allow-root search-replace 'https://www.globalxfunds.com' 'http://globalxfunds.test:8888'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment