<?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>rajukumar &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/author/rajukumar/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:18:21 +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>Create a namespace with your name and assigne one dummy resourcesquota to it and deploy some app</title>
		<link>https://www.bestdevops.com/create-a-namespace-with-your-name-and-assigne-one-dummy-resourcesquota-to-it-and-deploy-some-app/</link>
		
		<dc:creator><![CDATA[rajukumar]]></dc:creator>
		<pubDate>Fri, 03 Sep 2021 05:07:00 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20805</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<pre class="wp-block-code"><span><code class="hljs language-javascript">&#91;centos@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-15</span><span class="hljs-number">-134</span> ~]$ kubectl create ns raju
namespace/raju created


resource.yaml
<span class="hljs-attr">apiVersion</span>: v1
<span class="hljs-attr">kind</span>: ResourceQuota
<span class="hljs-attr">metadata</span>:
  name: mem-cpu-demo
<span class="hljs-attr">spec</span>:
  hard:
    requests.cpu: <span class="hljs-string">"1"</span>
    requests.memory: <span class="hljs-number">1</span>Gi
    limits.cpu: <span class="hljs-string">"2"</span>
    limits.memory: <span class="hljs-number">2</span>Gi


kubectl apply -f resource.yaml -n raju
resourcequota/mem-cpu-demo created
kubectl <span class="hljs-keyword">get</span> resourcequota mem-cpu-demo --namespace=raju
NAME           AGE    REQUEST                                     LIMIT
mem-cpu-demo   2m2s   requests.cpu: 0/1, requests.memory: 0/1Gi   limits.cpu: 0/2, limits.memory: 0/2Gi
&#91;centos@ip-172-31-15-134 raju]$ kubectl apply -f https://k8s.io/examples/admin/resource/quota-mem-cpu-pod.yaml --namespace=raju
Error from server (Forbidden): error when creating "https://k8s.io/examples/admin/resource/quota-mem-cpu-pod.yaml": pods "quota-mem-cpu-demo" is forbidden: exceeded quota: mem-cpu-demo, requested: requests.memory=600Mi, used: requests.memory=700Mi, limited: requests.memory=1Gi

Got error when resource is exceeded.



Name:         raju
Labels:       kubernetes.io/metadata.name=raju
Annotations:  &lt;none&gt;
Status:       Active

Resource Quotas
  Name:            mem-cpu-demo
  Resource         Used   Hard
  --------         ---    ---
  limits.cpu       800m   2
  limits.memory    1Gi    2Gi
  requests.cpu     400m   1
  requests.memory  700Mi  1Gi

No LimitRange resource.

</code></span></pre>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>What are the components of Kubernetes worker and explain each component’s function?</title>
		<link>https://www.bestdevops.com/what-are-the-components-of-kubernetes-worker-and-explain-each-components-function-5/</link>
		
		<dc:creator><![CDATA[rajukumar]]></dc:creator>
		<pubDate>Wed, 01 Sep 2021 07:01:04 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20557</guid>

					<description><![CDATA[kubelet The kubelet takes a set of PodSpecs that are provided through various mechanisms and ensures that the containers described [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"></p>



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



<p class="wp-block-paragraph">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.</p>



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



<p class="wp-block-paragraph">Kube-proxy is a network proxy that runs on each node in your cluster. kube-proxy maintains network rules on nodes. These network rules allow network communication to your Pods from network sessions inside or outside of your cluster.</p>



<p class="wp-block-paragraph">container runtime like docker ctr</p>



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



<p class="wp-block-paragraph"></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-4/</link>
		
		<dc:creator><![CDATA[rajukumar]]></dc:creator>
		<pubDate>Wed, 01 Sep 2021 06:50:26 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20495</guid>

					<description><![CDATA[kube-api-server The API server is the front end for the kube master etcd &#8211; act as cluster data storage Scheduler [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">kube-api-server   The API server is the front end for the kube master</p>



<p class="wp-block-paragraph">etcd &#8211;  act as cluster data storage</p>



<p class="wp-block-paragraph">Scheduler assign tasks to the worker node</p>



<p class="wp-block-paragraph">controller manager  manages the desire number of pods and notifies if something goes down</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Q1. List out all INSTRUCTION statement of dockerfile and give one line explanation.</title>
		<link>https://www.bestdevops.com/q1-list-out-all-instruction-statement-of-dockerfile-and-give-one-line-explanation-2/</link>
		
		<dc:creator><![CDATA[rajukumar]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 08:44:01 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20414</guid>

					<description><![CDATA[FROM – base OS we require to build our apps RUN – Run command in a container created from previous [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">FROM – base OS we require to build our apps</p>



<p class="wp-block-paragraph">RUN – Run command in a container created from previous line/layer</p>



<p class="wp-block-paragraph">ARG – Set a variable for docker file</p>



<p class="wp-block-paragraph">ENV – set environment for the container</p>



<p class="wp-block-paragraph">EXPOSE – Sepcify information port for the container and also can be used during port forwarding</p>



<p class="wp-block-paragraph">COPY – Copy the file in the destination<br>ADD – Copy the folder in the destination</p>



<p class="wp-block-paragraph">USER – specify the user to run PID1</p>



<p class="wp-block-paragraph">WORKDIR – to set workdir so we dont have to give the entire path all the time.</p>



<p class="wp-block-paragraph">CMD – To set the PID1. This can be replaced while starting the container using “docker run &lt;image name&gt; &lt;process/command&gt;”</p>



<p class="wp-block-paragraph">ENTRYPOINT – To set the PID1. This can not be replaced while starting. Any parameter passing in docker run will consider parameters for PID1 “docker run &lt;image name> &lt;params>”</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_20649"  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>Write a example docker file with 2 CMD, 2 ENTRYPOINT</title>
		<link>https://www.bestdevops.com/write-a-example-docker-file-with-2-cmd-2-entrypoint/</link>
		
		<dc:creator><![CDATA[rajukumar]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 07:11:45 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20357</guid>

					<description><![CDATA[Test1: docker run 27d064e1c81aHEllo from second entrypoint /bin/sh -c echo &#8220;Hello world from second cmd&#8221; Test2: root@ip-172-31-28-155:/home/ubuntu/raju# docker run 27d064e1c81a [&#8230;]]]></description>
										<content:encoded><![CDATA[<pre class="wp-block-code"><span><code class="hljs language-php">FROM ubuntu
MAINTAINER Raju &lt;&lt; raju.shankar@quest-<span class="hljs-keyword">global</span>.com&gt;&gt;
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get -y install tzdata
RUN apt-get update &amp;&amp; apt-get install git -y &amp;&amp; apt-get install -yq apache2
CMD <span class="hljs-keyword">echo</span> <span class="hljs-string">"Hello world from first cmd"</span>
CMD <span class="hljs-keyword">echo</span> <span class="hljs-string">"Hello world from second cmd"</span>
ENTRYPOINT &#91;<span class="hljs-string">"/bin/echo"</span>,<span class="hljs-string">"HEllo from first entrypoint"</span>]
ENTRYPOINT &#91;<span class="hljs-string">"/bin/echo"</span>,<span class="hljs-string">"HEllo from second entrypoint"</span>]
</code></span></pre>


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



<p class="wp-block-paragraph">docker run 27d064e1c81a<br>HEllo from second entrypoint /bin/sh -c echo &#8220;Hello world from second cmd&#8221;</p>



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



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



<p class="wp-block-paragraph">root@ip-172-31-28-155:/home/ubuntu/raju# docker run 27d064e1c81a echo test<br>HEllo from second entrypoint echo test</p>



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



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



<p class="wp-block-paragraph">Only the second cmd or entrypoint is being considered. Moreover if we try to replace cmd during run time then second entrypoint and run time cmd is considered.</p>
]]></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-8/</link>
		
		<dc:creator><![CDATA[rajukumar]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 05:34:59 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20283</guid>

					<description><![CDATA[Ideally, very little data is written to a container’s writable layer, and you use Docker volumes to write data. However, [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Ideally, very little data is written to a container’s writable layer, and you use Docker volumes to write data. However, some workloads require you to be able to write to the container’s writable layer. This is where storage drivers come in.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Create one Image which have base as ubuntu and with git &#8211; ntp &#8211; apache2.</title>
		<link>https://www.bestdevops.com/create-one-image-which-have-base-as-ubuntu-and-with-git-ntp-apache2/</link>
		
		<dc:creator><![CDATA[rajukumar]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 05:07:02 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20220</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<pre class="wp-block-code"><span><code class="hljs language-php"><span class="hljs-number">05</span>bf5be23f40   ubuntu:latest                     <span class="hljs-string">"bash"</span>               <span class="hljs-number">12</span> seconds ago       Up <span class="hljs-number">11</span> seconds                 ubunturajucontainer

root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker exec -it 05bf5be23f40 /bin/sh</span>
apt-get update
apt-get install git
apt-get install apache2
apt-get install httpd


<span class="hljs-comment"># read escape sequence</span>
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker commit -a "raju" -m "ubuntu-httpd-apache" 05bf5be23f40 ubuntu-with-git-apache</span>



</code></span></pre>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Create one Image which have base as centos and with git &#8211; ntp &#8211; httpd.</title>
		<link>https://www.bestdevops.com/create-one-image-which-have-base-as-centos-and-with-git-ntp-httpd/</link>
		
		<dc:creator><![CDATA[rajukumar]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 04:56:42 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20210</guid>

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


<pre class="wp-block-code"><span><code class="hljs language-php">root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker ps | grep raju</span>
ad134985b915   centos         <span class="hljs-string">"/bin/bash"</span>          <span class="hljs-number">9</span> seconds ago        Up <span class="hljs-number">7</span> seconds                  rajucentoscontaniner

root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker exec -it ad134985b915 /bin/sh</span>
yum install git
yum install httpd
sh<span class="hljs-number">-4.4</span><span class="hljs-comment"># read escape sequence</span>
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker commit -a "Raju" -m "cent-os-commit-raju" ad134985b915 centos-withgitandhttpd</span>
</code></span></pre>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>What is the use of &#8220;docker update&#8221; commands? with example and image</title>
		<link>https://www.bestdevops.com/what-is-the-use-of-docker-update-commands-with-example-and-image-5/</link>
		
		<dc:creator><![CDATA[rajukumar]]></dc:creator>
		<pubDate>Mon, 30 Aug 2021 11:31:24 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20109</guid>

					<description><![CDATA[Docker update command updates the container properties. In the below example I have update &#8211;memory-reservation]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Docker update command updates the container properties. In the below example I have update &#8211;memory-reservation</p>


<pre class="wp-block-code"><span><code class="hljs language-javascript">Before updating :
docker inspect <span class="hljs-number">8</span>de604debbb0
<span class="hljs-string">"MemoryReservation"</span>: <span class="hljs-number">0</span>,


After updating: docker update <span class="hljs-number">8</span>de604debbb0 --memory-reservation <span class="hljs-number">50</span>M
<span class="hljs-string">"MemoryReservation"</span>: <span class="hljs-number">52428800</span>,</code></span></pre>]]></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/</link>
		
		<dc:creator><![CDATA[rajukumar]]></dc:creator>
		<pubDate>Mon, 30 Aug 2021 11:16:17 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=20078</guid>

					<description><![CDATA[Image 1: Ran golang image and executed the image to get the go version. Image2:Ran python image and executed the [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Image 1: Ran golang image and executed the image to get the go version.</p>



<p class="wp-block-paragraph">Image2:Ran python image and executed the container</p>



<p class="wp-block-paragraph">Image3:Ran openjdk image and executed the container for java version</p>



<p class="wp-block-paragraph">Image4:Searched for some fun image and got cat image</p>



<p class="wp-block-paragraph">(docker run &#8211;rm -it wernight/funbox nyancat)</p>



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



<p class="wp-block-paragraph">Image5: Create a container for alpine image and excuted to add curl into the container</p>



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



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



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



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


<pre class="wp-block-code"><span><code class="hljs language-php">Image1
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker run -itd --name rajucontainer golang</span>
<span class="hljs-number">8</span>de604debbb0a9a279c7f135cb10fc4ceb6d86a1b2ece63858e64a810f75c9b9
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker exec -it rajucontainer /bin/sh</span>
<span class="hljs-comment"># go version</span>
go version go1<span class="hljs-number">.17</span> linux/amd64

Image2
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker run -itd --name rajupycontainer python</span>
a0ae7dc373c4456a31fa993b84656589f1e67a8701fe8fcd17cd63604c715cf8
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker exec -it a0ae7dc373c4456a31fa993b84656589f1e67a8701fe8fcd17cd63604c715cf8 /bin/bash</span>
root@a0ae7dc373c4:/<span class="hljs-comment"># python version</span>
python: can<span class="hljs-string">'t open file '</span><span class="hljs-comment">//version': &#91;Errno 2] No such file or directory</span>
root@a0ae7dc373c4:/<span class="hljs-comment"># python</span>
Python <span class="hljs-number">3.9</span><span class="hljs-number">.6</span> (<span class="hljs-keyword">default</span>, Aug <span class="hljs-number">17</span> <span class="hljs-number">2021</span>, <span class="hljs-number">15</span>:<span class="hljs-number">37</span>:<span class="hljs-number">33</span>)
&#91;GCC <span class="hljs-number">10.2</span><span class="hljs-number">.1</span> <span class="hljs-number">20210110</span>] on linux
Type <span class="hljs-string">"help"</span>, <span class="hljs-string">"copyright"</span>, <span class="hljs-string">"credits"</span> <span class="hljs-keyword">or</span> <span class="hljs-string">"license"</span> <span class="hljs-keyword">for</span> more information.
&gt;&gt;&gt; 

Image3
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker run -itd --name rajujavacnew1 openjdk:latest</span>
f4be5b57b8dc5c1981fef16df652bf3ae4deaf6aeb59902df703c5490a8dfe74
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker ps | grep raju</span>
f4be5b57b8dc   openjdk:latest   <span class="hljs-string">"jshell"</span>                 <span class="hljs-number">3</span> seconds ago    Up <span class="hljs-number">2</span> seconds                                                          rajujavacnew1


Image5
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker run -itd --name rajualpinec alpine</span>
f9b774b8c4d795ac0db94cf26a55b2da16a849d3cccda33a30c1b21d7dd3c1ac
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker exec -it f9b774b8c4d795ac0db94cf26a55b2da16a849d3cccda33a30c1b21d7dd3c1ac</span>
<span class="hljs-string">"docker exec"</span> requires at least <span class="hljs-number">2</span> arguments.
See <span class="hljs-string">'docker exec --help'</span>.

Usage:  docker exec &#91;OPTIONS] CONTAINER COMMAND &#91;ARG...]

Run a command in a running container
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker exec -it f9b774b8c4d795ac0db94cf26a55b2da16a849d3cccda33a30c1b21d7dd3c1ac /bin/sh</span>
/ <span class="hljs-comment"># apk update &amp;&amp; apk add curl</span>
fetch https:<span class="hljs-comment">//dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz</span>
fetch https:<span class="hljs-comment">//dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz</span>
v3<span class="hljs-number">.14</span><span class="hljs-number">.1</span><span class="hljs-number">-104</span>-g035eb230f7 &#91;https:<span class="hljs-comment">//dl-cdn.alpinelinux.org/alpine/v3.14/main]</span>
v3<span class="hljs-number">.14</span><span class="hljs-number">.2</span><span class="hljs-number">-1</span>-g0312522127 &#91;https:<span class="hljs-comment">//dl-cdn.alpinelinux.org/alpine/v3.14/community]</span>
OK: <span class="hljs-number">14935</span> distinct packages available
(<span class="hljs-number">1</span>/<span class="hljs-number">5</span>) Installing ca-certificates (<span class="hljs-number">20191127</span>-r5)
(<span class="hljs-number">2</span>/<span class="hljs-number">5</span>) Installing brotli-libs (<span class="hljs-number">1.0</span><span class="hljs-number">.9</span>-r5)
(<span class="hljs-number">3</span>/<span class="hljs-number">5</span>) Installing nghttp2-libs (<span class="hljs-number">1.43</span><span class="hljs-number">.0</span>-r0)
(<span class="hljs-number">4</span>/<span class="hljs-number">5</span>) Installing libcurl (<span class="hljs-number">7.78</span><span class="hljs-number">.0</span>-r0)
(<span class="hljs-number">5</span>/<span class="hljs-number">5</span>) Installing curl (<span class="hljs-number">7.78</span><span class="hljs-number">.0</span>-r0)
Executing busybox<span class="hljs-number">-1.33</span><span class="hljs-number">.1</span>-r3.trigger
Executing ca-certificates<span class="hljs-number">-20191127</span>-r5.trigger
OK: <span class="hljs-number">8</span> MiB in <span class="hljs-number">19</span> packages

</code></span></pre>


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



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Q2. What is the difference between docker stop and docker kill?</title>
		<link>https://www.bestdevops.com/q2-what-is-the-difference-between-docker-stop-and-docker-kill-2/</link>
		
		<dc:creator><![CDATA[rajukumar]]></dc:creator>
		<pubDate>Mon, 30 Aug 2021 07:43:43 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19984</guid>

					<description><![CDATA[One can stop and kill a running container. Docker stop will only stop the container gracefully. Docker kill will immediately [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">One can stop and kill a running container. Docker stop will only stop the container gracefully. Docker kill will immediately kills all the process. There is a difference in exit code.. </p>



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


<pre class="wp-block-code"><span><code class="hljs language-php">root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker stop rajuc</span>
rajuc
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker ps -a | grep rajuc</span>
<span class="hljs-number">548886386</span>f8b   httpd          <span class="hljs-string">"httpd-foreground"</span>       <span class="hljs-number">30</span> minutes ago      Exited (<span class="hljs-number">0</span>) <span class="hljs-number">7</span> seconds ago                rajuc


root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker kill rajuc</span>
rajuc
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker ps -a | grep rajuc</span>
<span class="hljs-number">548886386</span>f8b   httpd          <span class="hljs-string">"httpd-foreground"</span>       <span class="hljs-number">31</span> minutes ago      Exited (<span class="hljs-number">137</span>) <span class="hljs-number">8</span> seconds ago              rajuc

</code></span></pre>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>What is the difference between docker pause and docker unpause?</title>
		<link>https://www.bestdevops.com/what-is-the-difference-between-docker-pause-and-docker-unpause-2/</link>
		
		<dc:creator><![CDATA[rajukumar]]></dc:creator>
		<pubDate>Mon, 30 Aug 2021 07:29:50 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19922</guid>

					<description><![CDATA[Docker pause suspends all the process to container. Docker unpause will un-suspend all the process to container]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Docker pause suspends all the process to container. Docker unpause will un-suspend all the process to container</p>


<pre class="wp-block-code"><span><code class="hljs language-php">root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker pause rajuc</span>
rajuc
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker ps | grep rajc</span>
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker ps | grep rajuc</span>
<span class="hljs-number">548886386</span>f8b   httpd     <span class="hljs-string">"httpd-foreground"</span>       <span class="hljs-number">20</span> minutes ago      Up <span class="hljs-number">20</span> seconds (Paused)   <span class="hljs-number">80</span>/tcp    rajuc

unpause

root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker unpause rajuc</span>
rajuc
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker ps | grep rajuc</span>
<span class="hljs-number">548886386</span>f8b   httpd     <span class="hljs-string">"httpd-foreground"</span>       <span class="hljs-number">21</span> minutes ago      Up <span class="hljs-number">50</span> seconds            <span class="hljs-number">80</span>/tcp    rajuc

</code></span></pre>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Question 1: What is docker container with image?</title>
		<link>https://www.bestdevops.com/question-1-what-is-docker-container-with-image/</link>
		
		<dc:creator><![CDATA[rajukumar]]></dc:creator>
		<pubDate>Mon, 30 Aug 2021 07:21:45 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19868</guid>

					<description><![CDATA[&#8211; Inside a container all the necessary files/libraries/code to execute a program will be present. Running instance of image is [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">&#8211;</p>



<p class="wp-block-paragraph">Inside a container all the necessary files/libraries/code to execute a program will be present. </p>



<ul class="wp-block-list"><li>Running instance of image is called container<ul><li>Created a container </li><li>started a container</li><li>stopped a container</li></ul></li></ul>



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


<pre class="wp-block-code"><span><code class="hljs language-php">docker create --name rajuc httpd
<span class="hljs-number">548886386</span>f8b3e430db0957ee104b53f004fd67f55044252d6566c5d3f25f926

docker ps | grep rajuc
<span class="hljs-number">548886386</span>f8b   httpd     <span class="hljs-string">"httpd-foreground"</span>   <span class="hljs-number">4</span> minutes ago        Up <span class="hljs-number">14</span> seconds            <span class="hljs-number">80</span>/tcp    rajuc

root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker stop rajuc</span>
rajuc
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker ps | grep rajuc</span>
root@ip<span class="hljs-number">-172</span><span class="hljs-number">-31</span><span class="hljs-number">-28</span><span class="hljs-number">-155</span>:/home/ubuntu<span class="hljs-comment"># docker ps -a | grep rajuc</span>
<span class="hljs-number">548886386</span>f8b   httpd          <span class="hljs-string">"httpd-foreground"</span>       <span class="hljs-number">12</span> minutes ago       Exited (<span class="hljs-number">0</span>) <span class="hljs-number">22</span> seconds ago                   rajuc

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


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