I have an error whith docker swarm new services when I'm added somes services with a port like :
docker service create --name=elasticSearch --network=swarm-net -e xpack.security.enabled=false -e xpack.monitoring.enabled=false -e xpack.graph.enabled=false -e xpack.watcher.enabled=false -p 9200:9200 -p 9300:9300 -d docker.elastic.co/elasticsearch/elasticsearch:5.3.2
When I don't publish any ports the service works well but when I'm added it, the process stay at state "new" not running.
Did you have an idea ?
Regards