yes. docker is required. Read the https://laravel.com/docs/8.x/sail#introduction .
Instead of running the docker command like docker-compose up -d, docker attach etc. Sail can help you do this, so user don't really need to learn docker-command
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
Can't get started with Laravel. There's a 99.9% chance it is user error but I've spent a few hours on it already and I don't know what it could be.
I'm running Ubuntu 20.04.2 LTS and thought I was following the installation guide at laravel . com/docs/8.x#getting-started-on-linux but this is what I see after running ./vendor/bin/sail up.
$ ./vendor/bin/sail up
/usr/local/bin/docker-compose: line 1: Not: command not found
/usr/local/bin/docker-compose: line 1: Not: command not found
/usr/local/bin/docker-compose: line 1: Not: command not found
I have no idea what's going on.
$ locate docker-compose
/usr/local/bin/docker-compose
Looks like docker-compose is found.
Is Docker required? It seems like it's making the whole process overly complex. What documentation should I be following?
Thanks!
I've figured it out. Looks like I made a mistake when installing docker-compose with this command: sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose.
Long story short, I made a mistake in the URL and so what was downloaded was "Not Found" and not the real file. I tried again and things are working now.
Please or to participate in this conversation.