sudoaccess on the manager node of your swarm cluster
9443and expose a TCP tunnel server over port
8000. The latter is optional and is only required if you plan to use the Edge compute features with Edge agents.
--privilegedflag to Docker when deploying Portainer.
localhostwith the relevant IP address or FQDN if needed, and adjust the port if you changed it earlier.