Issue
I was trying to setup a laravel/sail with docker on the fresh ubuntu install. After following this manual: https://laravel.com/docs/8.x/installation#getting-started-on-linux
I'm getting an Invalid group ID sail error on sail up (alias has been created so I don't need to use ./vendor/bin/sail up
anymore).
groupadd: invalid group ID 'sail'
ERROR: Service 'laravel.test' failed to build : The command '/bin/sh -c groupadd --force -g $WWWGROUP sail' returned a non-zero code: 3
Solution
The problem was with the composer itself. After re-installation and clearing docker images it started to build it up!
Answered By - idzczakp Answer Checked By - David Goodson (WPSolving Volunteer)