Questions tagged [laravel-sail]
319 questions
0
votes
1 answer
Not able run Virtual Host on Docker Container using Laravel Sail on MAC OS
I have setup Laravel 8 on my Mac OS. I am using Laravel Sail to setup Docker container.
My application works proper on http://localhost:8081. However, I want to make
admin.website-dev.com to work.
Here is the docker-compose.yml
# For more…

Vivek Tankaria
- 1,301
- 2
- 15
- 35
0
votes
1 answer
Laravel 8 SendVerificationEmail Event Seemingly Not Firing
I've followed the instructions listed in the docs for email verification. My user model implements the MustVerifyEmail interface, and I'm firing the event in my controller after creating the user. I've also verified that I can send a random email…

hyphen
- 2,368
- 5
- 28
- 59
0
votes
1 answer
Laravel sail. Redirect to docker tutorial page
I launch sail up for the first time, go to localhost and automatically redirects from http:// localhost/ to http://localhost/tutorial/. What could be the reason? screenshot

Korgi228
- 1
- 1
0
votes
1 answer
Unsupported operating system Laravel 8 with Sail on Windows 10 (WSL2)
I've spent 13 hours to compose Laravel Sail and I hadn't able to install it on Windows 10 operating system.
But later fortunately my collegaue found the solution when he also bumbed into this error message:
Unsupported operating system…

Sirsemy
- 117
- 1
- 13
0
votes
0 answers
Docker compose build | Image after pull does not work / is empty
I have a laravel app.
I used laravel sail to generate the docker-compose.yml file.
Sail also created a Dockerfile in ./vendor/laravel/sail/runtimes/8.0
I see this also in the .yml file.
When I run on my local maschine docker-compose up it will…

Roman
- 3,563
- 5
- 48
- 104
0
votes
1 answer
Docker Laravel Redis - Queue initialization problem
Docker yml. I edited the laravel and redis containers in the file. Both containers are working fine. But when I don't run the artisan queue:work command externally, the queues don't start. I have no idea how to solve this situation. In addition, I…

nrkdrk
- 78
- 9
0
votes
0 answers
Having trouble building new laravel project with sail and docker
I'm creating a new laravel project using docker and sail, i'm on Windows 10, I have enabled WSL 2 and all that was required in the docs, but after I create the laravel project in the ubuntu shell (Ubuntu 20.04), and build sail using the following…

Commongrate
- 123
- 1
- 12
0
votes
3 answers
Xdebug: There was a problem sending 179 bytes on socket 10: Broken pipe
I'm using PhpStorm on Mac. I'm trying to debug a Laravel application inside the Sail container on the remote Ubuntu server.
Error that I can see from Xdebug inside Sail container is:
[17] Log opened at 2021-09-26 21:24:59.590599
[17] [Step Debug]…

Mario
- 151
- 4
- 16
0
votes
1 answer
Call a laravel endpoint from same app using Guzzle when using Laravel sail (Docker)
I have a Laravel app running in Docker containers using Laravel Sail.
I want to call an endpoint of the same laravel app from the same app.
I am using Guzzle HTTP client for that, but since app is running inside the container ( using Sail ) it is…

Rakesh K
- 1,290
- 1
- 16
- 43
0
votes
1 answer
Run Xdebug on Laravel 8 with Sail & PhpStorm on Ubuntu
I have Ubuntu 18.04 and a fresh installation of Laravel 8. I want to use Xdebug together with Sail. I followed the instructions as follows:
Added SAIL_XDEBUG_MODE=develop,debug to env
Run sail build --no-cache and sail up -d
Run docker inspect -f…

Adam
- 25,960
- 22
- 158
- 247
0
votes
1 answer
Why Laravel Sail NPM say's 'unsupported version of Node.js'?
I'm in a Laravel 8 project using Docker. Actually I'm in designing with SCSS.
My problem comes up, if I try to compile my SCSS. NPM says, my Node version is on 12.x and way to old, but in my container I use Node version 16.5.
I've tried it with the…

Manny
- 79
- 1
- 10
0
votes
1 answer
Larvel Sail: Installing Composer Dependencies For Existing Applications on Apple Silicon M1 Fails
I cloned an existing application on a machine with Apple's M1 processor. Then used following command to bring it (Ref).
docker run --rm \
-u "$(id -u):$(id -g)" \
-v $(pwd):/opt \
-w /opt \
laravelsail/php74-composer:latest \
…

Amer
- 384
- 3
- 13
0
votes
1 answer
Error on installing Wkhtmltopdf on docker (Laravel Sail)
I am trying to install wkhtmltopdf on docker via Laravel Sail. I had it working previously on Laravel Homestead. I have followed this instruction guide. But when I ran sail build --no-cache I got the following error:
failed to solve: rpc error: code…

sanders
- 10,794
- 27
- 85
- 127
0
votes
1 answer
how to add "Phpmyadmin" to laravel sail (docker + laravel) - auto: answer
This is your docker-compose file
to add "Phpmyadmin" you just have to the following commands that I will leave in "answer"
For more information: https://laravel.com/docs/sail
version: "3"
services:
laravel.test:
build:
…

Carlos Allen
- 101
- 6
0
votes
1 answer
Connect Laravel Sail App to Local MySql Server
I have a Laravel Sail app that was installed without the MySql service, since I want to use the MySql server on the local mac where the application is installed.
How do I do this? Presumably I need to modify the docker-compose file to redirect port…

DatsunBing
- 8,684
- 17
- 87
- 172