<?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>Prema &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/author/prema/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:29:38 +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>Define Docker</title>
		<link>https://www.bestdevops.com/define-docker/</link>
		
		<dc:creator><![CDATA[Prema]]></dc:creator>
		<pubDate>Tue, 17 Aug 2021 07:26:06 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19335</guid>

					<description><![CDATA[Docker is a tool /platform to manage containersFast, consistent delivery of your applicationsfaster deployment and good performanceDocker is light weightuses [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Docker is a tool /platform to manage containers<br>Fast, consistent delivery of your applications<br>faster deployment and good performance<br>Docker is light weight<br>uses less resources<br>cost saving<br>time saving<br>effective infra management</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Day:2 Docker Update</title>
		<link>https://www.bestdevops.com/day2-docker-update/</link>
		
		<dc:creator><![CDATA[Prema]]></dc:creator>
		<pubDate>Tue, 17 Aug 2021 05:26:02 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19287</guid>

					<description><![CDATA[[root@ip-172-31-14-110 centos]# docker update &#8211;cpu-shares 512 c04ba627e5ae ecstatic_shawd28b65c987d8ecstatic_shaw[root@ip-172-31-14-110 centos]# docker diff c04ba627e5aeC /tmpA /tmp/jetty-0_0_0_0-8080-war-_-any-8581425030792705993A /tmp/winstone6787664488571520537.jarA /tmp/hsperfdata_jenkinsA /tmp/hsperfdata_jenkins/7 wait docker wait [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">[root@ip-172-31-14-110 centos]# docker update &#8211;cpu-shares 512 c04ba627e5ae ecstatic_shaw<br>d28b65c987d8<br>ecstatic_shaw<br>[root@ip-172-31-14-110 centos]# docker diff c04ba627e5ae<br>C /tmp<br><strong>A /tmp/jetty-0_0_0_0-8080-war-_-any-8581425030792705993</strong><br>A /tmp/winstone6787664488571520537.jar<br>A /tmp/hsperfdata_jenkins<br>A /tmp/hsperfdata_jenkins/7</p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">wait</p>



<p class="wp-block-paragraph">docker wait command waits for one or more container to exit and provides the return status of the docker exit</p>



<p class="wp-block-paragraph">[root@ip-172-31-15-56 centos]# docker wait c04ba627e5ae<br>0<br>[root@ip-172-31-15-56 centos]#</p>



<p class="wp-block-paragraph">[root@ip-172-31-15-56 centos]# docker wait c04ba627e5ae<br>137<br>[root@ip-172-31-15-56 centos]#</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Day1 Answers</title>
		<link>https://www.bestdevops.com/day1-answers/</link>
		
		<dc:creator><![CDATA[Prema]]></dc:creator>
		<pubDate>Mon, 16 Aug 2021 10:24:02 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19185</guid>

					<description><![CDATA[What is the diff between docker pause and docker unpause? docker stop: Stop a running container (send SIGTERM, and then [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">What is the diff between docker pause and docker unpause?</p>



<p class="wp-block-paragraph"><code>docker stop</code>: Stop a running container (send SIGTERM, and then SIGKILL after grace period) […] The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL. [emphasis mine]</p>



<p class="wp-block-paragraph"><code>docker kill</code>: Kill a running container (send SIGKILL, or specified signal) […] The main process inside the container will be sent SIGKILL, or any signal specified with option –signal. [emphasis mine]</p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">The&nbsp;<code>docker unpause</code>&nbsp;command un-suspends all processes in the specified containers. On Linux, it does this using the freezer cgroup.</p>



<p class="wp-block-paragraph">The&nbsp;<code>docker pause</code>&nbsp;command suspends all processes in the specified containers. On Linux, this uses the freezer cgroup. Traditionally, when suspending a process the&nbsp;<code>SIGSTOP</code>&nbsp;signal is used, which is observable by the process being suspended. With the freezer cgroup the process is unaware, and unable to capture, that it is being suspended, and subsequently resumed. On Windows, only Hyper-V containers can be paused.</p>



<p class="wp-block-paragraph">Pause basically on a temporary basis stops all specified contains and we can unpause the specified containers with the below command</p>



<p class="wp-block-paragraph">docker pause<br>docker unpause</p>



<p class="wp-block-paragraph">CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES<br>bf3be341680e jenkins/jenkins &#8220;/sbin/tini &#8212; /usr/…&#8221; 14 minutes ago Up 14 minutes 8080/tcp, 50000/tcp quizzical_cannon</p>



<p class="wp-block-paragraph">What is the diff between docker stop and docker kill?<br>Docker kill command kills the specified container that container will no longer run any process and shwos as exited<br>STOP basically stops the specified container with the process and also shows as exited</p>



<p class="wp-block-paragraph">docker stop<br>docker kill</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
