# README
Strategies README
The Docker Swarm
scheduler comes with multiple strategies. To read the
end-user strategy documentation, visit the Swarm strategy documentation on
docs.docker.com. If you want
to modify the filter documentation, start with the docs/scheduler
directory
in this project.
# Variables
ErrNoResourcesAvailable is the error returned when there are no resources available to schedule a container.
ErrNotSupported is the error returned when a strategy name does not match any supported placement strategy.
# Structs
BinpackPlacementStrategy places a container onto the most packed node in the cluster.
RandomPlacementStrategy randomly places the container into the cluster.
SpreadPlacementStrategy places a container on the node with the fewest running containers.
# Interfaces
PlacementStrategy is the interface for a container placement strategy.