Blog-Plan migrate WP to docker

Reference:
https://medium.com/@habibridho/how-to-easily-setup-wordpress-using-docker-a798081dc577
#docker run --name local-mysql -e MYSQL_ROOT_PASSWORD = 12345 -d mysql:5.7
#docker exec -it local-mysql mysql -u root -p
#mysql> create database wordpress;
#docker run --name local-wordpress -p 8080:80 -d wordpress
#docker network create --attachable wordpress-network
#docker network connect wordpress-network local-mysql
#docker network connect wordpress-network local-wordpress

Tags:

           

No comments

Comments feed for this article

Reply

Your email address will not be published.