<commit_before>+++
date = "2017-04-11T00:00:00Z"
title = "Installing Replicated with Docker Swarm"
description = "Instructions for installing Replicated with a Swarm cluster"
keywords= "installing, swarm"
aliases = [
    "/distributing-an-application/installing-on-swarm/"
]
+++

We distribute an installation script that can be used to install Replicated into a new or existing Swarm cluster. The cluster does not have to be created at this point, the Replicated install script can install Docker Engine and provision a new Swarm cluster.

{{< note title="Swarm YAML Required" >}}
The Swarm scheduler requires a new YAML format as discussed here: [Replicated with Docker Swarm](/packaging-an-application/docker-swarm/). If you intend to use both Replicated and Swarm schedulers, it is recommended to create a separate application in the [Vendor Portal](https://vendor.replicated.com) that will be your Swarm version.
{{< /note >}}

## Basic install (recommended):

The basic install will install Docker (as needed) and Replicated. It will save the install script to a file which you can inspect and then run. We recommend reading and understanding the install script prior to running.
<commit_msg>swarm-sched-changes updated swarm yaml notes (#237)<commit_after>+++
date = "2017-04-11T00:00:00Z"
title = "Installing Replicated with Docker Swarm"
description = "Instructions for installing Replicated with a Swarm cluster"
keywords= "installing, swarm"
aliases = [
    "/distributing-an-application/installing-on-swarm/"
]
+++

We distribute an installation script that can be used to install Replicated into a new or existing Swarm cluster. The cluster does not have to be created at this point, the Replicated install script can install Docker Engine and provision a new Swarm cluster.

{{< note title="Swarm YAML Required" >}}
The Swarm scheduler requires a new YAML format as discussed here: [Replicated with Docker Swarm](/packaging-an-application/docker-swarm/). Only one scheduler, Replicated or Swarm, can be used in any given installation and switching between schedulers is not supported.
{{< /note >}}

## Basic install (recommended):

The basic install will install Docker (as needed) and Replicated. It will save the install script to a file which you can inspect and then run. We recommend reading and understanding the install script prior to running.

{'fraction_non_alphanumeric': 0.07477820025348543, 'fraction_numerical': 0.01309674693705112, 'mean_word_length': 4.92, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '528449', 'n_tokens_mistral': 653, 'n_tokens_neox': 610, 'n_words': 307}