$ git clone https://github.com/docker-wordpress-setup
$ cd docker-wordpress-setup
$ docker-compose down --volumes
$ docker-compose up -d
You’ll now see along with the docker-compose.yml file and in there the default WordPress files.
Accessing phpMyAdmin UI : http://localhost:8081
Accessing WordPress Setup : http://localhost:8082
other
https://github.com/nezhar/php-docker-ssl
How to install vim/nano in the docker container https://medium.com/@ozhanli/how-to-install-vim-nano-in-docker-container-4343e0ac0652
cat /etc/os-release
https://stackoverflow.com/questions/17157721/how-to-get-a-docker-containers-ip-address-from-the-host docker inspect -f '{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)