Docker Community Forums

Share and learn in the Docker community.

Docker Swarm Portainer Deployment


#1

I’m having issues getting this setup to work properly in a swarm. When deploying via the instructions (https://portainer.readthedocs.io/en/stable/agent.html#agent-configuration) I am able to only browse the containers that portainer is initialized on. All of my other swarm nodes are listed in the swarm submenu of portainer but none of the other nodes containers are listed. On the Dashboard page in Portainer it says Nodes in Cluster are only 1. I’m completely lost as I have been trying to get this working for over a week to no avail. Any help would be appreciated!!


#2

Seems like this might have been caused by the fact I only had two Swarm Managers in my cluster. I removed one and added two “nodes” and this seems to be working now. Thank you!