Docker Community Forums

Share and learn in the Docker community.

Service not getting deployed with docker stack deploy

security
swarm
docker

(Apal23) #1

Hi,

I am trying to deploy the services in a compose file using:
docker stack deploy -c docker-compose.yaml abcnetwork
I can see them in docker service ls, but when i do docker service logs ${service1}, iam getting following output:
only supported with experimental daemon
and none of the services are deployed.

Docker version -17.03
API Version -1.26
OS/Arch - linux/amd64

I surfed the internet and found that we have to set the experimental flag in daemon.json to true.

Is this feature supported in any stable version of docker where we don’t have to set the experimental flag in daemon.json to true?