Skip to content

Portainer on a Docker Swarm .... Functionality #12484

Answered by Nick-Portainer
macooper59 asked this question in Help
Discussion options

You must be logged in to vote

Hello @macooper59

"How do I know where the container gets deployed?"

In Docker Swarm, the placement of containers is managed by Swarm’s scheduler. You can see where a container is deployed by checking the NODE column of your services. Here’s how you can check:

  • Go to the “Services” section in your Portainer dashboard.
  • Expand the Service and under Node will show where the service is running.

You can also use placement constraints to tell Swarm where exactly to run that service.

For the Environment address you will use one of the Manager IP addresses. In a Swarm, only the manager nodes are responsible for orchestrating the cluster, so you should use the IP address of a manager node.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@macooper59
Comment options

Answer selected by macooper59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants