Unable to launch centos and ubuntu containers in a docker swarm cluster

Hi All-

I am a newbie to docker world. I have installed docker server and launched containers. This approach is working fine. After this, I created a swarm cluster of 3 servers and tried launching containers of centos and ubuntu. But this launch is failing. I am able to launch nginx, elasticsearch containers in the swarm cluster. I am not able to debug this issue. Can someone help me to figure out the root cause. I am not able to find much documentation on docker swarm.


Hi Amal, whats the error??
Yo should be able to run different containers without any issue.

Are you launching standalone containers or services??
Have you checked the logs with docker log or docker service log?