NOTE: As advised by Portainer, please use the "portainer/portainer-ce" image, which is 2.x version, not the older "portainer" tag you see in the compose file here!
Support me on Patreon! / omgthecloud
I put a lot of time in to these videos, and your support is appreciated to ensure I keep making high-quality content that’s helpful and educational to you!
Deploy Portainer on Docker Swarm easily with proper Compose file! This will place a Portainer Agent container on each node, and deploy the WebUI container, all in one simple step! If you add more nodes in the future, it will automatically deploy the agent to the new node, so you can manage them in the Web UI! We'll start out with docker swarm join to add a worker node to our docker swarm cluster. Follow along!