<?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>kannan &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/author/kannan/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>Fri, 04 Feb 2022 10:20:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>
	<item>
		<title>What is Pod in kubernetes. Exaplin in 15 points with image as an example</title>
		<link>https://www.bestdevops.com/what-is-pod-in-kubernetes-exaplin-in-15-points-with-image-as-an-example-2/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Wed, 01 Sep 2021 07:07:30 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20574</guid>

					<description><![CDATA[A pod is the smallest execution unit in Kubernetes A Pod (as in a pod of whales or pea pod) is a group [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">A pod is <strong>the smallest execution unit in Kubernetes</strong></p>



<p class="wp-block-paragraph">A <em>Pod</em> (as in a pod of whales or pea pod) is a group of one or more <a href="https://kubernetes.io/docs/concepts/containers/" target="_blank" rel="noreferrer noopener">containers</a>, with shared storage and network resources, and a specification for how to run the containers. </p>



<p class="wp-block-paragraph">Pods can communicate with each other by using another pods IP address or by referencing a resource that resides in another pod.</p>



<p class="wp-block-paragraph">Pods are created by workload resources called controllers, which manage rollout, replication, and health of pods in the cluster. For example, if a node in the cluster fails, a controller detects that the pods on that node are unresponsive and creates replacement pod(s) on other nodes.</p>



<p class="wp-block-paragraph">pods simplify scalability, enabling replica pods to be created and shut down automatically based on changes in demand.</p>



<p class="wp-block-paragraph">Each Pod is meant to run a single instance of a given application. If you want to scale your application horizontally (to provide more overall resources by running more instances), you should use multiple Pods, one for each instance. In Kubernetes, this is typically referred to as <em>replication</em>.</p>



<p class="wp-block-paragraph">The shared context of a Pod is a set of Linux namespaces, cgroups, and potentially other facets of isolation &#8211; the same things that isolate a Docker container. Within a Pod&#8217;s context, the individual applications may have further sub-isolations applied.</p>



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



<p class="wp-block-paragraph">When a pod is created it is assigned its own unique IP address. If there are multiple containers within the pod, they can communicate between each other simply by using localhost.</p>



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



<p class="wp-block-paragraph">Communications outside of the pod is achieved by exposing a port. Communications between pods in a cluster takes advantage of the fact that Kubernetes assigns a cluster-private IP address to every pid in a cluster, eliminating the need to either explicitly create links between pods or to map container ports to host ports. </p>



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



<p class="wp-block-paragraph">Once created, a Pod remains on its node until its process is complete, the Pod is deleted, the Pod is <strong>evicted</strong> from the node due to lack of resources, or the node fails. If a node fails, Pods on the node are automatically scheduled for deletion.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>What are the components of Kubernetes worker and explain each component&#8217;s function?</title>
		<link>https://www.bestdevops.com/what-are-the-components-of-kubernetes-worker-and-explain-each-components-function-2/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Wed, 01 Sep 2021 06:53:50 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20543</guid>

					<description><![CDATA[A Kubernetes cluster consists of a set of worker machines, called nodes, that run containerized applications. Every cluster has at least [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">A Kubernetes cluster consists of a set of worker machines, called <a href="https://kubernetes.io/docs/concepts/architecture/nodes/" target="_blank" rel="noreferrer noopener">nodes</a>, that run containerized applications. Every cluster has at least one worker node.he worker node(s) host the <a href="https://kubernetes.io/docs/concepts/workloads/pods/" target="_blank" rel="noreferrer noopener">Pods</a> that are the components of the application workload. The <a href="https://kubernetes.io/docs/reference/glossary/?all=true#term-control-plane" target="_blank" rel="noreferrer noopener">control plane</a> manages the worker nodes and the Pods in the cluster.</p>



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



<h3 class="wp-block-heading" id="kubelet">kubelet<a href="https://kubernetes.io/docs/concepts/overview/components/#kubelet"></a></h3>



<p class="wp-block-paragraph">An agent that runs on each <a href="https://kubernetes.io/docs/concepts/architecture/nodes/" target="_blank" rel="noreferrer noopener">node</a> in the cluster. It makes sure that <a href="https://kubernetes.io/docs/concepts/containers/" target="_blank" rel="noreferrer noopener">containers</a> are running in a <a href="https://kubernetes.io/docs/concepts/workloads/pods/" target="_blank" rel="noreferrer noopener">Pod</a>.The kubelet takes a set of PodSpecs that are provided through various mechanisms and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn&#8217;t manage containers which were not created by Kubernetes</p>



<h3 class="wp-block-heading" id="kube-proxy">kube-proxy<a href="https://kubernetes.io/docs/concepts/overview/components/#kube-proxy"></a></h3>



<p class="wp-block-paragraph">kube-proxy is a network proxy that runs on each <a href="https://kubernetes.io/docs/concepts/architecture/nodes/" target="_blank" rel="noreferrer noopener">node</a> in your cluster, implementing part of the Kubernetes <a href="https://kubernetes.io/docs/concepts/services-networking/service/" target="_blank" rel="noreferrer noopener">Service</a> concept.</p>



<h3 class="wp-block-heading" id="container-runtime">Container runtime<a href="https://kubernetes.io/docs/concepts/overview/components/#container-runtime"></a></h3>



<p class="wp-block-paragraph">The container runtime is the software that is responsible for running containers</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>What are the components of Kubernetes master and explain each component&#8217;s function?</title>
		<link>https://www.bestdevops.com/what-are-the-components-of-kubernetes-master-and-explain-each-components-function-3/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Wed, 01 Sep 2021 06:49:51 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20522</guid>

					<description><![CDATA[Kubernetes &#8211; Master Machine Components API Server Kubernetes is an API server which provides all the operation on cluster using [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Kubernetes &#8211; Master Machine Components</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="762" height="390" src="https://www.bestdevops.com/wp-content/uploads/2021/09/image-2.png" alt="" class="wp-image-20530" srcset="https://www.bestdevops.com/wp-content/uploads/2021/09/image-2.png 762w, https://www.bestdevops.com/wp-content/uploads/2021/09/image-2-300x154.png 300w" sizes="(max-width: 762px) 100vw, 762px" /><figcaption>etcd<br>It stores the configuration information which can be used by each of the nodes in the cluster.It is accessible only by Kubernetes API server </figcaption></figure>



<h3 class="wp-block-heading">API Server</h3>



<p class="wp-block-paragraph">Kubernetes is an API server which provides all the operation on cluster using the API. </p>



<h3 class="wp-block-heading">Controller Manager</h3>



<p class="wp-block-paragraph">This component is responsible for most of the collectors that regulates the state of cluster and performs a task and is responsible for collecting and sending information to API server.</p>



<h3 class="wp-block-heading">Scheduler</h3>



<p class="wp-block-paragraph">This is one of the key components of Kubernetes master. It is a service in master responsible for distributing the workload. It is responsible for tracking utilization of working load on cluster nodes and then placing the workload on which resources are available and accept the workload.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Features of kubernetes with images</title>
		<link>https://www.bestdevops.com/features-of-kubernetes-with-images/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Wed, 01 Sep 2021 06:45:48 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20491</guid>

					<description><![CDATA[Pod — collection of containers 3.Scaling 4.Provides additional services: as well as the management of containers, Kubernetes offers security, networking and [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"></p>



<ol class="wp-block-list"><li><strong><em>Pod — collection of containers</em></strong></li></ol>



<figure class="wp-block-image"><img decoding="async" src="https://miro.medium.com/max/231/1*OS9xDRtP05EGfgovGesIcw.png" alt="" /><figcaption>2.SelfMonitoring</figcaption></figure>



<p class="wp-block-paragraph">3.Scaling </p>



<p class="wp-block-paragraph">4.<strong>Provides additional services:</strong> as well as the management of containers, Kubernetes offers security, networking and storage services</p>



<p class="wp-block-paragraph">5.<strong>Storage orchestration:</strong> Kubernetes mounts and add storage system of your choice to run apps</p>



<p class="wp-block-paragraph">6.<strong>Container balancing:</strong> Kubernetes always knows where to place containers, by calculating the “best location” for them</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Write an example dockerfile with 2 CMD, 2 ENTRYPOINT and 1 CMD/1 ENTRYPOINT and write down behavior of it.</title>
		<link>https://www.bestdevops.com/write-an-example-dockerfile-with-2-cmd-2-entrypoint-and-1-cmd-1-entrypoint-and-write-down-behavior-of-it-2/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 08:45:09 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20422</guid>

					<description><![CDATA[root@ip-172-31-28-155:/home/ubuntu/srm# cat dockerfile_multiFROM ubuntuMAINTAINER Rajesh Kumar &#60;&#60; rajesh@scmgalaxy.com&#62;&#62;ENV DEBIAN_FRONTEND=noninteractiveRUN apt-get updateRUN apt-get -y install tzdataRUN apt-get install git -y &#38;&#38; [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">root@ip-172-31-28-155:/home/ubuntu/srm# cat dockerfile_multi<br>FROM ubuntu<br>MAINTAINER Rajesh Kumar &lt;&lt; rajesh@scmgalaxy.com&gt;&gt;<br>ENV DEBIAN_FRONTEND=noninteractive<br>RUN apt-get update<br>RUN apt-get -y install tzdata<br>RUN apt-get install git -y &amp;&amp; apt-get install -yq apache2<br>CMD echo &#8220;Hello CMD kp&#8221;<br>ENTRYPOINT [&#8220;/bin/echo&#8221;, &#8220;Hello Entry kannan&#8221;]</p>



<p class="wp-block-paragraph">root@ip-172-31-28-155:/home/ubuntu/srm# docker run -it image_multi<br>Hello Entry kannan /bin/sh -c echo &#8220;Hello CMD kp&#8221;</p>



<p class="wp-block-paragraph">root@ip-172-31-28-155:/home/ubuntu/srm# cat dockerfile_multi<br>FROM ubuntu<br>MAINTAINER Rajesh Kumar &lt;&lt; rajesh@scmgalaxy.com&gt;&gt;<br>ENV DEBIAN_FRONTEND=noninteractive<br>RUN apt-get update<br>RUN apt-get -y install tzdata<br>RUN apt-get install git -y &amp;&amp; apt-get install -yq apache2<br>CMD echo &#8220;Hello CMD kp&#8221;<br>CMD echo &#8220;Hello CMD kannan&#8221;</p>



<p class="wp-block-paragraph">root@ip-172-31-28-155:/home/ubuntu/srm# docker run -it image_multi<br>Hello CMD kannan</p>



<p class="wp-block-paragraph">root@ip-172-31-28-155:/home/ubuntu/srm# cat dockerfile_multi<br>FROM ubuntu<br>MAINTAINER Rajesh Kumar &lt;&lt; rajesh@scmgalaxy.com&gt;&gt;<br>ENV DEBIAN_FRONTEND=noninteractive<br>RUN apt-get update<br>RUN apt-get -y install tzdata<br>RUN apt-get install git -y &amp;&amp; apt-get install -yq apache2<br>ENTRYPOINT [&#8220;/bin/echo&#8221;, &#8220;Hello Entry k&#8221;]<br>ENTRYPOINT [&#8220;/bin/echo&#8221;, &#8220;Hello Entry kp&#8221;]</p>



<p class="wp-block-paragraph">root@ip-172-31-28-155:/home/ubuntu/srm# docker run -it image_multi<br>Hello Entry kp</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe  id="_ytid_30235"  width="675" height="379"  data-origwidth="675" data-origheight="379" src="https://www.youtube.com/embed/?enablejsapi=1&#038;list=PLTCuRW0ikUdNVsbfTCwSq4hvG6i4_IjWt&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;" class="__youtube_prefs__  epyt-is-override  no-lazyload" title="YouTube player"  allow="fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen data-no-lazy="1" data-skipgform_ajax_framebjll=""></iframe>
</div></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>List out all INSTRUCTION statement of dockerfile and give one line explanation.</title>
		<link>https://www.bestdevops.com/list-out-all-instruction-statement-of-dockerfile-and-give-one-line-explanation-9/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 08:40:04 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20409</guid>

					<description><![CDATA[FROM : Set base image MAINTAINER : Author of docker file RUN : Run the commands in new layer VAR [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">FROM : Set base image</p>



<p class="wp-block-paragraph">MAINTAINER : Author of docker file</p>



<p class="wp-block-paragraph">RUN : Run the commands in new layer</p>



<p class="wp-block-paragraph">VAR : Used to set variable, we can re-use these variables later</p>



<p class="wp-block-paragraph">EXPOSE : specify port of the container</p>



<p class="wp-block-paragraph">COPY : Copy files to the container</p>



<p class="wp-block-paragraph">ADD : copy files into container and extract it</p>



<p class="wp-block-paragraph">USER : Set the runtime user</p>



<p class="wp-block-paragraph">ENV : set environment variable</p>



<p class="wp-block-paragraph">CMD : to set PID1</p>



<p class="wp-block-paragraph">ENTRY POINT : to set PID1</p>



<p class="wp-block-paragraph">WORK DIR : set the working directory</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe  id="_ytid_27052"  width="675" height="379"  data-origwidth="675" data-origheight="379" src="https://www.youtube.com/embed/?enablejsapi=1&#038;list=PLTCuRW0ikUdNVsbfTCwSq4hvG6i4_IjWt&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;" class="__youtube_prefs__  epyt-is-override  no-lazyload" title="YouTube player"  allow="fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen data-no-lazy="1" data-skipgform_ajax_framebjll=""></iframe>
</div></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Q2. Build all these 5 images and run container and observe the use cases of it.</title>
		<link>https://www.bestdevops.com/q2-build-all-these-5-images-and-run-container-and-observe-the-use-cases-of-it/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 08:38:21 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20396</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="119" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-148-1024x119.png" alt="" class="wp-image-20404" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-148-1024x119.png 1024w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-148-300x35.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-148-768x89.png 768w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-148-1536x179.png 1536w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-148.png 1847w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>What is Docker Images and Exaplin in 10 bullet lines?</title>
		<link>https://www.bestdevops.com/what-is-docker-images-and-exaplin-in-10-bullet-lines-4/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 05:34:57 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20289</guid>

					<description><![CDATA[All layers in a docker image is Read only. All layers in an image is merged to one layer while [&#8230;]]]></description>
										<content:encoded><![CDATA[
<ul class="wp-block-list"><li>All layers in a docker image is Read only.</li><li>All layers in an image is merged to one layer while creating the container..</li><li>Docker image is a collection of files systems.</li><li>A docker image is a template for docker container.</li><li>One docker image can be used to create multiple containers</li><li>File systems are layered over each other</li><li>Layer 0 have the root filesystem</li><li>Each layer in image will have 40 character length UUID generated by SHA 256 algorithm.</li></ul>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>What is Storage Driver and types of Storage Driver? Explained with Images.</title>
		<link>https://www.bestdevops.com/what-is-storage-driver-and-types-of-storage-driver-explained-with-images-7/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 05:31:26 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20272</guid>

					<description><![CDATA[Docker uses storage drivers to store image layers, and to store data in the writable layer of a container. The [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Docker uses storage drivers to store image layers, and to store data in the writable layer of a container. The container’s writable layer does not persist after the container is deleted, but is suitable for storing ephemeral data that is generated at runtime. Storage drivers are optimized for space efficiency, but (depending on the storage driver) write speeds are lower than native file system performance, especially for storage drivers that a use copy-on-write filesystem</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>1.Create one Image which have base as centos and with git &#8211; ntp &#8211; httpd.   2.Ubuntu with git-ntp and apache2</title>
		<link>https://www.bestdevops.com/1-create-one-image-which-have-base-as-centos-and-with-git-ntp-httpd-2ubuntu-with-git-ntp-and-apache2/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 05:22:22 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20245</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="845" height="881" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-147.png" alt="" class="wp-image-20255" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-147.png 845w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-147-288x300.png 288w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-147-768x801.png 768w" sizes="auto, (max-width: 845px) 100vw, 845px" /></figure>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>List of Top 5 docker images from hub.docker.com and create a running container of it and try to use it.</title>
		<link>https://www.bestdevops.com/list-of-top-5-docker-images-from-hub-docker-com-and-create-a-running-container-of-it-and-try-to-use-it-3/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Mon, 30 Aug 2021 12:01:08 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20162</guid>

					<description><![CDATA[nginxalpinetomcatjettyRabbitmq]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">nginx<br>alpine<br>tomcat<br>jetty<br>Rabbitmq</p>



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



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>What is the use of “docker update” commands? with example and image</title>
		<link>https://www.bestdevops.com/what-is-the-use-of-docker-update-commands-with-example-and-image-8/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Mon, 30 Aug 2021 11:55:19 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20156</guid>

					<description><![CDATA[The docker update command dynamically updates container configuration. ]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">The <strong>docker update</strong> command <strong>dynamically updates container configuration</strong>. </p>



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


<pre class="wp-block-code"><span><code class="hljs">Update a container’s cpu-shares
$ docker update --cpu-shares 512 1afa20d7cfe5</code></span></pre>


<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="802" height="488" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-145.png" alt="" class="wp-image-20157" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-145.png 802w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-145-300x183.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-145-768x467.png 768w" sizes="auto, (max-width: 802px) 100vw, 802px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>What is the use of “docker wait” commands? with example and image</title>
		<link>https://www.bestdevops.com/what-is-the-use-of-docker-wait-commands-with-example-and-image-6/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Mon, 30 Aug 2021 11:50:38 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20153</guid>

					<description><![CDATA[The wait command will wait until a container stops and then print their exit codes.eg docker run –name kphttpd httpd [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">The wait command will wait until a container stops and then print their exit codes.<br>eg<br><br><em>docker run –name kphttpd httpd</em><br><br><em>docker wait  kphttpd</em><br><br><em>docker kill kphttpd</em></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="359" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-144-1024x359.png" alt="" class="wp-image-20154" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-144-1024x359.png 1024w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-144-300x105.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-144-768x269.png 768w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-144-1536x539.png 1536w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-144.png 1870w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Assignent for Docker Day1</title>
		<link>https://www.bestdevops.com/assignent-for-docker-day1/</link>
		
		<dc:creator><![CDATA[kannan]]></dc:creator>
		<pubDate>Mon, 30 Aug 2021 07:25:57 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19844</guid>

					<description><![CDATA[Q1. Explain What is Docker Container with image? Docker container with image is an executable software package built on top [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Q1. Explain What is Docker Container with image?</p>



<p class="wp-block-paragraph">Docker container with image is an executable software package built on top of  its own root file system. Every docker image will have its own docker container.</p>



<p class="wp-block-paragraph"><br>Q2. What is the difference between docker stop and docker kill?</p>



<p class="wp-block-paragraph">&#8216;stop&#8217; commands does graceful shutdown&#8230;.where &#8216;kill&#8217; command does a forceful kill. The status code will be different for both eventhough the status is same (Exited)</p>



<p class="wp-block-paragraph">after stop command, exit code is 0</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="883" height="422" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-130.png" alt="" class="wp-image-19902" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-130.png 883w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-130-300x143.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-130-768x367.png 768w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-130-460x220.png 460w" sizes="auto, (max-width: 883px) 100vw, 883px" /><figcaption>After kill command ,exit code is 137</figcaption></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="858" height="463" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-131.png" alt="" class="wp-image-19904" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-131.png 858w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-131-300x162.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-131-768x414.png 768w" sizes="auto, (max-width: 858px) 100vw, 858px" /></figure>


<pre class="wp-block-code"><span><code class="hljs">  2  docker create --name kannan httpd
    3  docker ps -a
    4  docker start kannan
    5  docker stop kannan
    6  docker ps -a
    7  docker start kannan
    8  docker kill  kannan
    9  docker ps -a
   10  history</code></span></pre>


<p class="wp-block-paragraph"><br>Q3. What is the difference between docker pause and docker unpause?</p>



<p class="wp-block-paragraph">after pause command (docker pause kannan)</p>



<p class="wp-block-paragraph">Using pause command we can suspend the container for some time and we can resume it later</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="817" height="39" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-129.png" alt="" class="wp-image-19891" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-129.png 817w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-129-300x14.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-129-768x37.png 768w" sizes="auto, (max-width: 817px) 100vw, 817px" /><figcaption>After unpause(docker unpause kannan)</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="13" src="https://www.bestdevops.com/wp-content/uploads/2021/08/image-128-1024x13.png" alt="" class="wp-image-19889" srcset="https://www.bestdevops.com/wp-content/uploads/2021/08/image-128-1024x13.png 1024w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-128-300x4.png 300w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-128-768x10.png 768w, https://www.bestdevops.com/wp-content/uploads/2021/08/image-128.png 1243w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>


<pre class="wp-block-code"><span><code class="hljs"> 11  docker start kannan
   12  docker pause kannan
   13  docker ps -a
   14  docker unpause kannan
   15  docker ps -a
</code></span></pre>


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