docker-machine create --driver virtualbox default
docker-machine start default
eval $(docker-machine env default)
docker-compose up -d
open http://$(docker-machine ip default):1080/
(mailcatcher)open http://$(docker-machine ip default):8000/wp-admin/
(WordPress)
docker-compose stop
docker-machine stop default
docker-machine start default
eval $(docker-machine env default)
docker-compose start
docker-compose down
docker-machine rm default
docker exec -it dockerwordpressmailcatcher_db_1 sh -c 'exec mysqldump --add-drop-table -u wp_user -phogehoge wordpress 2>/dev/null' > initdb.d/wordpress.sql
MIT License