Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

NikolayDimitrov's avatar

http://127.0.0.1:8001 does not load in browser (docker exec -it)

Good day. I am at this section:

The Laravel Installer Or, you may install the Laravel Installer as a global Composer dependency:

composer global require laravel/installer

laravel new example-app

cd example-app

php artisan serve

Make sure to place Composer's system-wide vendor bin directory in your $PATH so the laravel executable can be located by your system. This directory exists in different locations based on your operating system; however, some common locations include:

macOS: $HOME/.composer/vendor/bin Windows: %USERPROFILE%\AppData\Roaming\Composer\vendor\bin GNU / Linux Distributions: $HOME/.config/composer/vendor/bin or $HOME/.composer/vendor/bin

When I run this commands it does not load. I am not sure if I had run the right settings and I have the right apps.

composer global require laravel/installer

laravel new example-app

cd example-app

php artisan serve

I am using Desktop Docker which runs - laravelsail/php80-composer:latest I am using its CLI to put the above commands.

I also have: Ubuntu 20.04 Visual Studio Code

0 likes
0 replies

Please or to participate in this conversation.