sudo
access on the manager node of your swarm cluster.9001
. In addition, the Portainer Server installation must be able to reach the nodes on port 9001
. If this is not possible, we advise looking at the Edge Agent instead.--privileged
flag to Docker when deploying Portainer.AGENT_SECRET
on your Portainer Server instance. If you have, you will need to provide that secret to your agent by adding it to the stack file:environment:
- AGENT_SECRET: yoursecret
9001
). This is a required field.AGENT_SECRET
defined and has been running for longer than 72 hours without being associated with a Portainer Server installation, the agent will stop accepting connections until it is restarted.