Local Docker Installation Failing


May 17th, 2023 02:17 PM

Hello, I am trying to install Wave to a local docker instance. I tried running buildDocker.sh but got an unauthorized or deleted error for haakco/stage3-ubuntu-20.04-php7.4-lv.

I tried to use FROM ubuntu:20.04 with RUN apt-get update && apt-get install -y php7.4

and got almost fully through the build after some other modifications but kept running into issues with composer and wrong php versions.. Is this haakco/stage3-ubuntu-20.04-php7.4-lv available somewhere else or what is the best way for me to set this up in a local docker instance?


May 17th, 2023 07:21 PM

Hi, Tony!

Try Laravel Homestead. It's a development environment built exclusively for docker.

You can find the documentation for it below. https://laravel.com/docs/10.x/homestead

Please mark my answer if it has helped you!


May 18th, 2023 01:21 AM

Hi there,

Thank you for the suggestion @superdev! That is super helpful!

In addition to that, I could also suggest using Laravel Sail:

The Dockerfile is not really being used when you run Laravel sail.

To use Sail follow these steps:

Install the dependencies:

composer install

Copy over the .env.example file to .env:

cp .env.example .env

The database details in your .env file should be set to:


If you are on a Mac with M1 change the MySQL image to mariadb:10.5.8 as the MySQL images seem not to be available for the new M1 chips yet:

        image: 'mariadb:10.5.8'

Then start sail:

bash ./vendor/bin/sail up -d

Run the migrations:

./vendor/bin/sail artisan migrate 
./vendor/bin/sail artisan db:seed

Let me know how it goes.


May 18th, 2023 06:14 PM

Hi Bobby, I had an idea about it but forgot the name sadly. Thanks for the addition ❤️


May 19th, 2023 02:17 PM

Hey thanks for the support guys, after doing some research I actually got it running in a docker instance with Laradock (https://laradock.io/). I'm new to docker and figuring stuff out as I go, so I definitely think I installed more packages than I needed to during the setup. The only problem I'm facing is slow speed, sometimes it takes about 5 seconds to process the request. I have quite a good machine I'm running it on so it may just be my configuration I've setup is slow for some reason... Unless these are expected speeds for loading. Not sure why this would be, let me know if anyone has suggestions of what to try to improve this


May 26th, 2023 01:01 PM

Best Answer

For anyone reading this thread in the future, I believe that the slowness was due to the link between the docker instance and my windows local filesystem that I was using to contain the Wave files. After researching, I saw post about moving the files into the WSL2 directories and using docker with that. Laradock worked good other than the slow speeds with the windows-linux file links so if anyone plans on deploying production, I would attempt to move the files directly into WSL2 or the docker instance. (Probably didn't explain that well because I'm new to docker)

Anyway I decided to move to a dedicated ubuntu VPS instead and have been happier with the results.