<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4343&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Docker service does not restart from Ansible]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4343</link>
		<description><![CDATA[The most recent posts in Docker service does not restart from Ansible.]]></description>
		<lastBuildDate>Thu, 27 May 2021 00:30:25 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Docker service does not restart from Ansible]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29947#p29947</link>
			<description><![CDATA[<p>Hello,</p><p>Following Ansible code does NOT start docker service under Devuan Beowulf:</p><div class="codebox"><pre><code>    - name: Ensure docker deamon is running
      service:
        name: docker
        state: started</code></pre></div><p>cat /var/log/docker.log:</p><div class="codebox"><pre><code>Failed to start containerd: exec: &quot;docker-containerd&quot;: executable file not found in $PATH</code></pre></div><p>Though following code works fine:</p><div class="codebox"><pre><code>    - name: Start docker service
      command: service docker start 
      args:
        warn: False</code></pre></div><p>Lets try SSH:</p><div class="codebox"><pre><code>ssh host &quot;service docker start&quot;</code></pre></div><p> works fine (without a further fix) too.</p><p>I was able to fix the problem by customizing docker&#039;s rc script by adding:</p><div class="codebox"><pre><code>export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin</code></pre></div><p>at the top of the file: /etc/init.d/docker</p><p>Is it a bug?</p>]]></description>
			<author><![CDATA[dummy@example.com (bimon)]]></author>
			<pubDate>Thu, 27 May 2021 00:30:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29947#p29947</guid>
		</item>
	</channel>
</rss>
