In my case after adding phpmyadmin/adminer to the composer file, I failed to add the "networks" field under the phpmyadmin configurations in the docker-compose file. Looks like By default laravel sail for laravel 10 creates a "network" in the docker-compose.yml so one has to add it if necessary, to all additional services that will be added to the docker-compose file