'How do Laravel and Docker play together?

I want to get into Laravel development. As per Laravel's installation guide, I have installed Docker first, which was a first for me. But for me to finally install Laravel, I need to have a docker container running.

How so, when I don't yet know what tools I am going to use? I haven't even been able to install Laravel! So what do I have to do? Is there a public Dockerfile / image or something like that that I can run so I can install Laravel and start getting into that?

I'd appreciate any help.



Solution 1:[1]

Check out this official install script https://laravel.build/example-app

Reference: https://laravel.com/docs/9.x/installation#getting-started-on-macos

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jun Pan