1. 下載docker https://www.runoob.com/docker/windows-docker-install.html
若想用阿里雲鏡像加速請參考 https://blog.csdn.net/yp090416/article/details/75107938
2. 安裝完成后 在cmd終端輸入以下命令
docker run --name test-mysql -e MYSQL_ROOT_PASSWORD=mypasswd -d mysql:5.7.22 docker run --name test-wordpress --link test-mysql:mysql -p 8080:80 -d wordpress
之后在瀏覽器地址欄輸入localhost:8080即可訪問自己新建的網站