Running the local wordpress on the docker

The post-instruction me not forget the pain and the flow I used for it.

So I’ve heard recently about the docker and I really liked the idea to have a self-container with basically anything you want to run and test. Why I was thinking about it? Because I always was afraid of what will happen if my provider will kick me off the hosting and will I be able to move my backups to a new server with minimum effort and pain.

A long time ago, I tried to create a local server with a lot of crap settled on my pc. It worked out, but I really did not like the way how I was doing this. The idea to have it in a single self-contained place where I can (theoretically) easily move it to another server with docker running without any struggle seems way more attractive.

Continue reading