We are using docker engine 1.12 on all nodes.
Created the swarm manager with 2 nodes added to it. Trying to create a service for creating tomcat/MySQL container ,its created but with existed status. And not able to access the containers.
executing below mentioned command on swarm manager:
docker service create --name tomcat_test --publish 8080:8080/tcp davidcaste/alpine-tomcat
and please let us know how to deploy the war files in containers.
for interactive session for the container executing below mentioned command:
docker service create --name test ubuntu /bin/bash
it is creating the container but with existed status. And not able to access the containers.
Please help us for resolving the issue.