Hi! On my local environment for laravel I only need this docker-compose.yml file to run my application, phpunit tests, and browser tests too: https://gist.github.com/ibrunotome/dbe760f246cef14159014e99fc03a8f6.
I’m trying to execute it on buddy, so i taked the “Local Shell” action, and made this setup:
On Environment Customization:
apt-get update -y && apt-get upgrade -y apt-get install curl -y curl -fsSL get.docker.com | sh curl -L https://github.com/docker/compose/releases/download/1.19.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose
And on Run Commands:
cd /buddy/the-job docker-compose up -d docker-compose run app vendor/bin/phpunit docker-compose run app php artisan dusk
And i got the message:
docker-compose up -d Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running? If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
How I can resolve that? I really want to execute by docker-compose way. Is there other way to run docker-compose.yml files here?
I also see that docker is not running the daemon, and I did not solve that at this moment.
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.