Spin up php server locally with Docker

Almost same use case and files than last time. But this time, using Docker, which I had been wanting to test out for so long.

docker run -p 80:80 -v /Users/your-username/path-to-docker-folder/src/:/var/www/html/ hello-world

Everything is brilliantly explained on this Learn Docker in 12 Minutes video.

Like on last post, proof files here.

So long.

flo preynat

Follow me on Twitter

Or simply don't...

Latest Photos