There is a docker-compose example inside the laravel-example directory You should use this as base and build an image/container that runs your composer install && php artisan serve --host 0.0.0.0 for example. Docker Image: https://hub.docker.com/r/josepernia8/alpine-php7-composer/