Laravel's clean project with Docker....
To Build docker run on terminal: $ docker-compose up -d
Now we need to check if the VM is running: $ docker ps
Connect on the mysql docker: $ docker exec -it larastarter_database_1 bash
Access mysql: $ mysql -u root -p
Run the commands: mysql> GRANT ALL PRIVILEGES ON . TO 'admin'@'%';
Do this inside mysql docker: $ mysql -u root -p
info at phpclasses dot org