Replicated can be used with a Docker Swarm application to deploy an enterprise-installable version of your application. Replicated provides developers with the ability to support their applications, allow users to configure it for their enterprise environment, and offer their application as an appliance. When using Docker Swarm with Replicated, developers continue to get all of the functionality of the Replicated platform while having access to all of the Docker Swarm functionality.
When to Use the Docker Swarm Scheduler
Compared to other schedulers supported by Replicated, Docker Swarm offers:
- Single daemon provisioining and scaling, while offering multiple node distribution and overlay networking.
- Docker Compose release format, allowing developers to more closely mirror Replicated releases to development and SaaS environments
- Built-in overlay networking and DNS-based service discovery
- Cluster-wide service load balancing
When to Use Other Schedulers
There are a few cases where using other schedulers, such as the Replicated Native scheduler or Kubernetes scheduler, provide a better experience.
- Some enterprises require the use of Long Term Support Operating Systems in the 2.x kernel series such as RedHat Enterprise Linux 6. Replicated with Docker Swarm requires Docker 17.03 or later, while RHEL6 only supports Docker 1.7.1. To support RHEL 6 and older versions of Docker, consider the Replicated Native Scheduler.
Shipping on Docker Swarm
The process to ship your application in Replicated consists of the following steps:
- Create a vendor account on the Replicated Vendor Portal.
- Prepare the images required by your app. You can either:
- Tag and push your images to the Replicated Private Registry. Or
- Select images from a public registry ie Docker Hub. Or
- Push your images to a third party private registry & provide Replicated with access.
- Define your components on the Replicated Vendor Portal.
- Create a release of your application.
- Install your application to test.
The next section describes the release YAML format for Docker Swarm in more detail.