Download

$ git clone https://github.com/docker-wordpress-setup

Navigate to source

$ cd docker-wordpress-setup

Down volume data(has any big changes in db setup)

$ docker-compose down --volumes

Run with docker-compose

$ 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

Identify the Linux Distribution

cat /etc/os-release

docker change file

https://stackoverflow.com/questions/32750748/how-to-edit-files-in-stopped-not-starting-docker-container

docker show ip adress

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)