I am getting the following message in my browser after I login to Swirl: "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
Could provide my with advise or direction what I am missing or doing wrong?
Below is my docker-compose file section for starting Swirl and MongoDB:
mode: replicated
replicas: 1
update_config:
order: start-first # get new container running first before removing old, for less downtime
rollback_config:
order: start-first # get new container running first before removing old, for less downtime
placement:
constraints:
node.role==manager
mongo:
image: mongo
volumes:
/path/mongo/data:/data/db
networks:
net
deploy:
mode: replicated
replicas: 1
update_config:
order: start-first # get new container running first before removing old, for less downtime
rollback_config:
order: start-first # get new container running first before removing old, for less downtime
Hi,
I am getting the following message in my browser after I login to Swirl: "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
Could provide my with advise or direction what I am missing or doing wrong?
Below is my docker-compose file section for starting Swirl and MongoDB:
` swirl: image: cuigh/swirl container_name: swirl depends_on:
- DB_TYPE=bolt
- RESCRAMBLE=true
security_opt:
volumes:
net deploy:
privileged: true
mode: replicated replicas: 1 update_config: order: start-first # get new container running first before removing old, for less downtime rollback_config: order: start-first # get new container running first before removing old, for less downtime placement: constraints:
mongo: image: mongo volumes:
placement:
constraints: [node.hostname == mongo]`
Thank you in advance. Regards, Angelo