Learning Windows Server Containers
上QQ阅读APP看书,第一时间看更新

Docker Swarm

Swarm is a native cluster management solution from Docker. Swarm helps you manage a pool of containers hosts as a single unit. Swarm is delivered as an image called Docker Swarm image. Docker Swarm image should be installed on a node and the container hosts should be configured with TCP ports and TLS certificates to connect to the swarm. Swarm provides an API layer to access the container or cluster services so that developers can build their own management interface. Swarm follows Plug and Play (PnP) architecture, so most of the components of swarm can be replaced as per needs. A few of the cluster management capabilities provided by swarm are:

  • Discovery services for discovering images using public/private hosts or event list of IPs
  • Docker Compose, which can be used for orchestrating multicontainer deployment in a single file
  • Advanced scheduling for strategically placing containers on selective nodes depending on the ranking/priority and filtering nodes