See how to install Docker in Ubuntu
git clone https://github.com/asepmaulanaismail/laravel-mongodb-docker.git
cd laravel-mongodb-docker/
./install.sh
composer install
docker-compose up -d
Open http://localhost/ in your browser.
See Laravel's Documentations here.