I am using below cofiguration circle ci to test docker stack.
version: 2 jobs: test: docker: - image: circleci/python:3.7 steps: - checkout - run: echo "Initializing build with docker stack - run: docker stack deploy -c stack.yml bitroid - run: curl localhost deploy: machine: enabled: true steps: - checkout - run: name: Deploy Master to Heroku command: | - $HUB_DOCKER_TRIGGER workflows: version: 2 test_and_deploy: jobs: - test - deploy: requires: - test
It is throwing below error in circle ci .
#!/bin/bash -eo pipefail docker stack deploy -c stack.yml bitroid Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Exited with code 1
Can you please check and advice.
Thanks and regards,