'Docker setup on WSL for a Laravel website

I have entered into the WSL terminal the following command:

docker compose build --no-cache && docker compose up

This is what happened:

command part 1

command part 2

I have not downloaded anything outside of Docker on this computer and I have cloned this "backend" from the repository.

I have no experience in Docker or Laravel.

What methods should I start with to fix this?



Solution 1:[1]

The option -g in the groupadd command needs to be numerical, you can't use use the word sail.

See Ubuntu's documentation about that command and option here.

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 Pedro Rodrigues