Kyle Ferguson wrote a nice tutorial on how to use Laravel with Docker.

docker with laravel

One of the challenges every development team faces is managing a consistent local environment to work in. Tools like Vagrant have made this easier in the past but working with heavy VM's can be time consuming and quite taxing on your computer's resources. Laravel is a great PHP framework for building web applications and provides some officially supported solutions for this as well with Homestead and Valet. But what if you want tighter control over your local environment without the burden of managing VMs?

That's where Docker comes in!