Docker service create fails to create containers when --publish <PORT> is added to parameters

OS: Windows 10 X64
Docker version: Docker version 17.06.0-ce, build 02c1d87
Docker Machine: version 0.12.0, build 45c69ad
Docker Compose: version 1.14.0, build c7bdf9e3

docker service create --publish 7070:80 --replicas 5 --name democtr7 --update-delay 30s --update-parallelism 1 demoimage1 ping docker.com

on running this command I can see that the service is getting crated but with 0 containers.
docker service ls result:

[ID]etdpwhfw4gv3 [ NAME] democtr7 [ MODE]replicated [REPLICAS]0/5 [IMAGE]demoimage1:latest [PORTS]*:7070->80/tcp

So, as you can see the no. of replicas created are ‘0’

but if i run the same command without adding the --publish-port it works fine