First of all download the structure from the github and run the command below to start the server, databases and all of the staff
docker-compose build
docker-compose up
or use this (recommended) :
docker-compose up -d
Now, to run composer or nodeje into the shell your have to get the shell access
docker-compose exec web bash
Now, Check Node.js and npm versions:
node -v
npm -v
If you have any permission or storage permission issue, then run these commands into your docker container shell or bash access
chmod -R 775 storage bootstrap/cache
chown -R www-data:www-data storage bootstrap/cache