<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Swarm on Jose Castrillo</title>
    <link>https://jose.castrillo.eu/tags/swarm/</link>
    <description>Recent content in Swarm on Jose Castrillo</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Thu, 28 Mar 2019 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jose.castrillo.eu/tags/swarm/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Disable live-restore to run Docker Swarm</title>
      <link>https://jose.castrillo.eu/post/docker-local-post/</link>
      <pubDate>Thu, 28 Mar 2019 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/docker-local-post/</guid>
      <description>&lt;p&gt;The following instruction is a solution when you got an error response with &lt;a href=&#34;https://docs.docker.com/v17.09/engine/admin/live-restore/&#34;&gt;live-restore&lt;/a&gt; using Docker Swarm in Fedora 28 or highter&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ docker swarm init
Error response from daemon: --live-restore daemon configuration is incompatible with swarm mode
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;That&amp;rsquo;s not possible to enable Live-restore and Swarm-mode together.&lt;/p&gt;
&lt;p&gt;First make sure that the &lt;strong&gt;SElinux&lt;/strong&gt; is Permissive or Disabled.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sestatus

SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   permissive
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     actual (secure)
Max kernel policy version:      31
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Then remove the &amp;ndash;live-restore line from the &lt;strong&gt;/etc/sysconfig/docker&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
