I would like to run a docker-compose command as one of my pipeline steps, for example here is my .drone.yml file
kind: pipeline
name: cicd
steps:
- name: test
image: docker/compose
commands:
- docker-compose -f docker-compose-test.yml up -d
It fails on the test step, with the following error message:
Couldn't connect to Docker daemon at http+docker://localhost - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
Any advice will be greatly appreciated!