<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>john_a &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/author/john_a/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.bestdevops.com</link>
	<description>Lets Learn, Do it &#38; Share! Thats a Best DevOps!!!</description>
	<lastBuildDate>Tue, 17 Aug 2021 07:24:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>
	<item>
		<title>Things to know about Docker</title>
		<link>https://www.bestdevops.com/things-to-know-about-docker/</link>
		
		<dc:creator><![CDATA[john_a]]></dc:creator>
		<pubDate>Tue, 17 Aug 2021 07:24:06 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19324</guid>

					<description><![CDATA[Docker images are basically a collection of filesystems One copy of an image of gets mounted to each container Images [&#8230;]]]></description>
										<content:encoded><![CDATA[
<ul class="wp-block-list"><li>Docker images are basically a collection of filesystems </li><li>One copy of an image of gets mounted to each container</li><li>Images can be stored in a repository for use by other orgs </li><li>Docker images can contain one or more filesystems</li><li>Each filesystem in a docker image is called a layer </li><li>The base layer is always the root filesystem</li><li>When multiple layers exist in a docker image, the top layer will get priority</li><li>When we create a container, all layers get merged into a single layer that gets attached to the container </li><li>Docker images are stored in registries under the same name</li><li>When docker containers are stopped, they do not reflect changes made to filesystem while running</li></ul>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Docker Wait and Docker Update explained</title>
		<link>https://www.bestdevops.com/docker-wait-and-docker-update-explained/</link>
		
		<dc:creator><![CDATA[john_a]]></dc:creator>
		<pubDate>Tue, 17 Aug 2021 05:31:11 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19279</guid>

					<description><![CDATA[Docker Update The docker update command dynamically updates container configuration. We can use this command to prevent containers from consuming [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Docker Update </h2>



<p class="wp-block-paragraph">The docker update command dynamically updates container configuration. We can use this command to prevent containers from consuming too many resources from their Docker host. With this command, we can place limits on a single container or on many. </p>


<pre class="wp-block-code"><span><code class="hljs language-xml">docker update &#91;OPTIONS] <span class="hljs-tag">&lt;<span class="hljs-name">container_name</span>&gt;</span>  </code></span></pre>


<p class="wp-block-paragraph">Before update cpu shares option &#8211; </p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="537" height="167" src="https://www.bestdevops.com/wp-content/uploads/2021/08/1.png" alt="" class="wp-image-19286" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/1.png 537w, https://www.bestdevops.com/wp-content/uploads/2021/08/1-300x93.png 300w" sizes="(max-width: 537px) 100vw, 537px" /></figure>



<p class="wp-block-paragraph">After update cpu shares option &#8211; </p>



<figure class="wp-block-image size-full is-resized"><img decoding="async" src="https://www.bestdevops.com/wp-content/uploads/2021/08/2.png" alt="" class="wp-image-19289" width="517" height="197" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/2.png 431w, https://www.bestdevops.com/wp-content/uploads/2021/08/2-300x114.png 300w" sizes="(max-width: 517px) 100vw, 517px" /></figure>



<h2 class="wp-block-heading">Docker Wait </h2>



<p class="wp-block-paragraph">Block until one or more containers stop, then print their exit codes</p>


<pre class="wp-block-code"><span><code class="hljs language-xml">docker wait <span class="hljs-tag">&lt;<span class="hljs-name">container_name</span>&gt;</span></code></span></pre>


<p class="wp-block-paragraph">Example of running docker wait  &#8211; Start a container in the background.</p>


<pre class="wp-block-code"><span><code class="hljs">$ docker run -dit --name=mine ubuntu bash</code></span></pre>


<p class="wp-block-paragraph">Run <code>docker wait</code>, which should block until the container exits.</p>


<pre class="wp-block-code"><span><code class="hljs">$ docker wait mine</code></span></pre>


<p class="wp-block-paragraph">In another terminal, stop the first container. The <code>docker wait</code> command above returns the exit code.</p>


<pre class="wp-block-code"><span><code class="hljs">$ docker stop mine</code></span></pre>


<p class="wp-block-paragraph">This is the same <code>docker wait</code> command from above, but it now exits, returning <code>0</code>.</p>


<pre class="wp-block-code"><span><code class="hljs">$ docker wait mine

0
</code></span></pre>


<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="321" src="https://www.bestdevops.com/wp-content/uploads/2021/08/3-1024x321.png" alt="" class="wp-image-19303" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/3-1024x321.png 1024w, https://www.bestdevops.com/wp-content/uploads/2021/08/3-300x94.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/3-768x241.png 768w, https://www.bestdevops.com/wp-content/uploads/2021/08/3-1536x482.png 1536w, https://www.bestdevops.com/wp-content/uploads/2021/08/3.png 1648w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Assignment Day 1 &#8211; John</title>
		<link>https://www.bestdevops.com/assignment-day-1-john/</link>
		
		<dc:creator><![CDATA[john_a]]></dc:creator>
		<pubDate>Mon, 16 Aug 2021 10:01:01 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19157</guid>

					<description><![CDATA[What is the difference between docker pause and docker unpause? The command &#8220;docker pause&#8221; suspends all processes in the specified [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">What is the difference between docker pause and docker unpause?</h2>



<p class="wp-block-paragraph">The command &#8220;docker pause&#8221; suspends all processes in the specified containers. Usually the SIGSTOP signal is sent to the process, which is observable by the process being suspended. However, the command &#8220;docker unpause&#8221; automatically un-suspends the processes in the specified containers. Usually this is accomplished via the SIGCONT signal.</p>


<pre class="wp-block-code"><span><code class="hljs language-xml">docker pause <span class="hljs-tag">&lt;<span class="hljs-name">container_name</span>&gt;</span>
docker unpause <span class="hljs-tag">&lt;<span class="hljs-name">container_name</span>&gt;</span></code></span></pre>


<h2 class="wp-block-heading">What is the difference between docker stop and docker kill? </h2>



<p class="wp-block-paragraph">The command &#8220;docker stop&#8221; sends a SIGTERM  signal to the main process inside the specified container and after a grace period will send a SIGKILL signal to the main process. The SIGTERM signal being sent first allows for a graceful cleanup of the process. However, the command &#8220;docker kill&#8221; sends a SIGKILL signal to the main process inside the specified container. This will automatically kill the main process without no timeout period.</p>


<pre class="wp-block-code"><span><code class="hljs language-xml">docker stop <span class="hljs-tag">&lt;<span class="hljs-name">container_name</span>&gt;</span>
docker kill <span class="hljs-tag">&lt;<span class="hljs-name">container_name</span>&gt;</span></code></span></pre>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
