<p>So I have already images in my <code>dockerhub</code> which are ready to use as I have already setup a kubernetes cluster on a server. My next step is to achieve something similar using docker swarm. I do not really know how to get started so I am asking in here.</p>

<p>The kubernetes cluster is running on a <code>bare metal ubuntu VPS server</code> and looks like this: </p>

<p><a href="https://i.stack.imgur.com/TOOs5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TOOs5.png" alt="enter image description here"></a></p>

<p>My question is:</p>

<blockquote>
  <p>How to set up a single node cluster (one master only, no workers) on a <code>bare metal ubuntu VPS</code>? I did not found much out there, are there any significant changes I need to take care about (similar to the <code>metalLB</code> in the kubernetes cluster)?</p>
</blockquote>

elp
<blockquote>
  <p>How to set up a single node cluster (one master only, no workers) on a bare metal ubuntu VPS? I did not found much out there, are there any significant changes I need to take care about (similar to the metalLB in the kubernetes cluster)?</p>
</blockquote>

<p>There's not much to do. You simply:</p>

<ol>
<li><p>Install the OS on your server. That may be from install media, or perhaps a network based scripted install. That's typically out of scope from docker and handled by the OS vendor or 3rd party tools.</p></li>
<li><p>Install docker. That's well documented from docker, just select your OS from the list: <a href="https://docs.docker.com/install/" rel="noreferrer">https://docs.docker.com/install/</a></p></li>
<li><p>Enable swarm with <code>docker swarm init</code> and you're done. If you have more than one network interface, you may need to specify an  <code>--advertise-addr</code> option. <a href="https://docs.docker.com/engine/reference/commandline/swarm_init/" rel="noreferrer">https://docs.docker.com/engine/reference/commandline/swarm_init/</a></p></li>
</ol>

<p>That's it, one command and you have a single node cluster. The lack of guides is more that there's little to do to get up and running.</p>
