<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pratibha Kokil on Medium]]></title>
        <description><![CDATA[Stories by Pratibha Kokil on Medium]]></description>
        <link>https://medium.com/@kokilpratibha29?source=rss-7c4a3e567e47------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_GJNgjeBKZdJhX_E1WeaCg.jpeg</url>
            <title>Stories by Pratibha Kokil on Medium</title>
            <link>https://medium.com/@kokilpratibha29?source=rss-7c4a3e567e47------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 30 May 2026 17:39:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kokilpratibha29/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Can we run docker inside the docker container??]]></title>
            <link>https://medium.com/@kokilpratibha29/can-we-run-docker-inside-the-docker-container-5accd8ffe907?source=rss-7c4a3e567e47------2</link>
            <guid isPermaLink="false">https://medium.com/p/5accd8ffe907</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[containers]]></category>
            <dc:creator><![CDATA[Pratibha Kokil]]></dc:creator>
            <pubDate>Sat, 18 Dec 2021 14:23:52 GMT</pubDate>
            <atom:updated>2021-12-18T14:23:52.409Z</atom:updated>
            <content:encoded><![CDATA[<p>Yes! In this blog, I will walk you through how to install docker inside the docker container.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*u1y7ITyW3EoA2JNNGdjlAg.jpeg" /></figure><p>Docker is a software platform that allows you to build, test, and deploy applications quickly. Docker is an operating system for containers. Containers have everything the software needs to run including libraries, system tools, code, and runtime.</p><h4>What is Docker Privileged Mode?</h4><p>Docker privileged mode grants a docker container to have all of the root capabilities of a host machine which are not accessible in ordinary containers.</p><h4>What does the privileged do?</h4><p>Executing container engines with the<em> — privileged </em>flag tells the engine to launch the container process without any further “security” lockdown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*hd6D2wGw87Gzy5xT5yCgJw.jpeg" /></figure><h4>What are yum-utils?</h4><p>yum-utils is a collection of tools and programs for managing yum repositories, installing debug packages, source packages, extended information from repositories, and administration.</p><pre>yum-config-manager --add-repo <em>repository_url</em></pre><h3>See Docker-in-Docker in action</h3><ol><li>Launch a container and execute it in privileged mode.</li></ol><pre>docker run -it --name container1 --privileged lwimage:v1</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Rqnh0y9N26SXrj9b" /></figure><p>2. Install yum-utils</p><pre>yum install -y yum-utils</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wu0bTN-juzicksAk" /></figure><p>3. Install glibc-all-langpacks package.</p><pre>dnf install langpacks-en glibc-all-langpacks -y</pre><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*t8I_DjCgbKJ_ceFR" /></figure><p>4. Add repository file</p><pre>    yum-config-manager \<br>    --add-repo \<br>    https://download.docker.com/linux/centos/docker-ce.repo</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aTlrpmSzWEiURrI1" /></figure><p>5. Install docker</p><pre>yum install docker-ce</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iEjkiWF3P2XOOpyo" /></figure><pre>dockerd &amp;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9zRP-f2rkIRXb_bL" /></figure><pre>docker info</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*G1ql-E99Ysc-NC-4" /></figure><pre>docker ps<br>docker ps -a</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4gDEqTkBh5SQ7FVj" /></figure><p>6. Launch a container in containerized docker</p><pre>docker run -it --name container2 centos:latest</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SFW0A9QjymIGokmB" /></figure><p>New container “container2” is launched inside the “container1”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QhtaUI5Jw4GSn95M" /></figure><h3>Can I Run Docker-in-Docker-in-Docker?</h3><p>Yes. When you are inside a privileged container, you can always nest one more level:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*wfUthuaiQFVVnik-NubsVQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5accd8ffe907" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Use Linux Date Command?]]></title>
            <link>https://medium.com/@kokilpratibha29/how-to-use-linux-date-command-9351f139f020?source=rss-7c4a3e567e47------2</link>
            <guid isPermaLink="false">https://medium.com/p/9351f139f020</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Pratibha Kokil]]></dc:creator>
            <pubDate>Fri, 24 Sep 2021 08:07:18 GMT</pubDate>
            <atom:updated>2021-09-24T08:07:18.294Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*XgSEGP9F5Yw5z33qsZtC1A.jpeg" /></figure><p><strong>Description :</strong></p><p>The <strong>date</strong> command writes the current date and time to standard output if called with no flags or with a flag list that begins with a <strong>+</strong> (plus sign). Otherwise, it sets the current date. Only a root user can change the date and time. The date command prints the usage message on any unrecognized flags or input.</p><p>If you follow the date command with a <strong>+</strong> (plus sign) and a field descriptor, you can control the output of the command. You must precede each field descriptor with a <strong>%</strong> (percent sign). The system replaces the field descriptor with the specified value. Enter a literal % as %% (two percent signs). The date command copies any other characters to the output without change. The date command always ends the string with a new-line character.</p><blockquote><strong>The Linux date command displays or set the system date and time.</strong></blockquote><h3>Custom Formatting :</h3><h4>-d date arithmetic</h4><p><em>Display the time described by the user friendly string.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LInTF7RZ6ssyENnL" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*c5PaNBgKnwq6lbu0" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wj0X2yegqQqGNoh7" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OEJNeDGoxXQSIKBO" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TzPXO3nfjOJK9HFB" /></figure><h3>Date String :</h3><p><em>The -s option allows you to operate on a specific date. You can specify the date as a human-readable date string.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Sel_EB1pTOPEDAbM" /></figure><h3><strong>Date Formatting :</strong></h3><p><em>The output of date can be formatted with a format string that is preceeded by a + sign.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SF03dp4X8rzLY8Kv" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oGvkxxKIjLP4G7_M" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Eqs9pIWJSTQZwEDJ" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3L5lM7RioX2WTfff" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*D3eoT861fnActc_a" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mjza7Qkm4Zfcvbpz" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZRPPsjibFzQhDI6p" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KUEt4PSpqv1Ta7Dx" /></figure><h3>Using date with Other Commands :</h3><h4>Timeout</h4><p><em>Print the date, run sleep for 10 seconds but with a timeout of 1 second and than run date again :</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LnZiwqu-HCKOV5CV" /></figure><h3>Common formats :</h3><h4>ISO 8601 format</h4><p><em>-I or — iso-8601 prints the date in </em><a href="https://renenyffenegger.ch/notes/development/misc/Datumsformate#iso-8601"><em>ISO 8601</em></a><em> format.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*A-FF8y_9Xvka4e-I" /></figure><h4>RFC 3339 format</h4><p><em>Similarly, — rfc-3339=x prints a date in </em><a href="https://renenyffenegger.ch/notes/development/web/RFC/index#rfc-3339"><em>RFC 3339</em></a><em> format, x being date, sec or ns.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hdaHZGGoenaSuZY-" /></figure><h4>Email format</h4><p><em>Then, there is also the so called email format.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9VvcbxKwqMQGHh5B" /></figure><h4><strong>UTC format</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EBb_XMG-VFGUWMsk" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9351f139f020" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zenity : Linux Command]]></title>
            <link>https://medium.com/@kokilpratibha29/zenity-linux-command-dc74a16de290?source=rss-7c4a3e567e47------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc74a16de290</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Pratibha Kokil]]></dc:creator>
            <pubDate>Sun, 19 Sep 2021 13:40:41 GMT</pubDate>
            <atom:updated>2021-09-19T13:40:41.413Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Zenity : Linux Command</strong></h3><h4>zenity — progress</h4><blockquote><strong>Zenity is an open source and a cross-platform application which displays GTK+ Dialog Boxes in command-line.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*i1TMsdTa2KlQZ4aYUrwOzA.jpeg" /></figure><h4><strong>Description :</strong></h4><p>Zenity is a Linux command that uses dialog boxes to make shell script more graphical to end-users.</p><h4><strong>Basic Usage :</strong></h4><p>When you write scripts, you can use Zenity to create simple dialogs that interact graphically with the user, as follows:</p><p>You can create a dialog to obtain information from the user. For example, you can prompt the user to select a date from a calendar dialog, or to select a file from a file selection dialog.</p><p>You can create a dialog to provide the user with information. For example, you can use a progress dialog to indicate the current status of an operation, or use a warning message dialog to alert the user.</p><p>When the user closes the dialog, Zenity prints the text produced by the dialog to standard output.</p><h3><strong>Options of Zenity :</strong></h3><h4>1) Message Box :</h4><p>In its simplest form, zenity can be used to create a message box with a info, warning or error.</p><p><strong>Zenity can create four types of message dialog :</strong></p><p><strong><em>Error : Display Error Dialog</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*AGJfav4XrfkuOcw1fwFmQA.png" /></figure><p><strong><em>Information : Display Info Dialog</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*QWcGhw6LBX4fytMiXwP8IA.png" /></figure><p><strong><em>Warning : Display Warning Dialog</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*J5sOi7WMI7q8LQ2Oo8KTuA.png" /></figure><p><strong><em>Question : Display Question Dialog</em></strong></p><p>Questions that can be answered with either yes or no can be asked with the</p><p>--question.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*xs5hdmqDooH3zo4JwZRALw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*Ht40V0zjG_YS95VG4AL7xg.png" /></figure><h4>2) Entry Dialog :</h4><p>The text entry dialog supports the following options:</p><p><strong>–text=text</strong><br> Specifies the text that is displayed in the text entry dialog.</p><p><strong>–entry-text=text</strong><br> Specifies the text that is displayed in the entry field of the text entry dialog.</p><p><strong>–hide-text</strong></p><p>Hides the text in the entry field of the text entry dialog. For sensitive data, such as passwords, the — hide-text option can be used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*oOqvZy5uGgbE8xxGCWiItA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*Dex-HdNEaGNzheyvfc6FpA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*R7R2LWtfV9jRespqAfzahA.png" /></figure><h4>3) Progress Dialog :</h4><p>Progress dialog is to track a progression of a routine.</p><p>The progress dialog supports the following options :</p><p><strong>–text=text</strong><br> Specifies the text that is displayed in the progress dialog.</p><p><strong>–percentage=percentage</strong><br> Specifies the initial percentage that is set in the progress dialog.</p><p><strong>–auto-close</strong><br> Closes the progress dialog when 100% has been reached.</p><p><strong>–pulsate</strong><br> Specifies that the progress bar pulsates until an EOF character is read from standard input.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*AejOqsnBpNCqdBlhkIG9RA.png" /></figure><h4>4) Choosing :</h4><p><strong><em>Use the calendar to choose a date :</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*V_dCC8FICQxrzKVqal80gg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*U-pZGI8PIqRqsdS2SYPxPA.png" /></figure><p><strong><em>Use the file selector to choose a file :</em></strong></p><p>File selection dialog is one of the a very useful zenity dialog, it support open file or save file dialog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*uV8HUjx_63wi3R2a8h7tyg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*pFtBgxHkvFORLt7-RZcy3Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc74a16de290" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>