<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Debug School: B. Tarun Kumar Reddy</title>
    <description>The latest articles on Debug School by B. Tarun Kumar Reddy (@tarun0314).</description>
    <link>https://www.debug.school/tarun0314</link>
    <image>
      <url>https://www.debug.school/images/LU919xdoWBHKaScCOj96yAZtWtY85n_HKH29dBMLblM/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzIwNC9iMWRj/OWE5OC0xMmY5LTQ0/MDYtYmQ1ZS1lMGM4/YTMwZGE4ZjUucG5n</url>
      <title>Debug School: B. Tarun Kumar Reddy</title>
      <link>https://www.debug.school/tarun0314</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/tarun0314"/>
    <language>en</language>
    <item>
      <title>Write a Notes on all the git commands which we have learned and one line explaination of it.</title>
      <dc:creator>B. Tarun Kumar Reddy</dc:creator>
      <pubDate>Fri, 18 Nov 2022 09:04:45 +0000</pubDate>
      <link>https://www.debug.school/tarun0314/write-a-notes-on-all-the-git-commands-which-we-have-learned-and-one-line-explaination-of-it-4157</link>
      <guid>https://www.debug.school/tarun0314/write-a-notes-on-all-the-git-commands-which-we-have-learned-and-one-line-explaination-of-it-4157</guid>
      <description>&lt;p&gt;&lt;strong&gt;git init&lt;/strong&gt;:- initializes the git in the folder&lt;br&gt;
&lt;strong&gt;git config&lt;/strong&gt; :- used to config the git user name and email associated&lt;br&gt;
&lt;strong&gt;git add file1.txt&lt;/strong&gt; :- Add file1.txt to&lt;br&gt;
&lt;strong&gt;git add .&lt;/strong&gt; :- Adds a file to the staging area.&lt;br&gt;
&lt;strong&gt;git commit -m "commit message"&lt;/strong&gt; :- Records or snapshots the file permanently in the version history.&lt;br&gt;
&lt;strong&gt;git branch&lt;/strong&gt; :- lists all the local branches in the current repository.&lt;br&gt;
&lt;strong&gt;git checkout&lt;/strong&gt; :- This command is used to switch from one branch to another.&lt;br&gt;
&lt;strong&gt;git merge&lt;/strong&gt; :- command merges the specified branch’s history into the current branch.&lt;br&gt;
&lt;strong&gt;git clean&lt;/strong&gt; :- used to remove unwanted files from your working directory&lt;br&gt;
&lt;strong&gt;git clone URL&lt;/strong&gt;:- For getting a repository from an existing URL&lt;br&gt;
&lt;strong&gt;git log&lt;/strong&gt; :- used to list the version history for the current branch&lt;br&gt;
&lt;strong&gt;git status&lt;/strong&gt; :- lists all the files that have to be committed.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Docker Volume type "tmpfs"</title>
      <dc:creator>B. Tarun Kumar Reddy</dc:creator>
      <pubDate>Wed, 16 Nov 2022 05:27:10 +0000</pubDate>
      <link>https://www.debug.school/tarun0314/docker-volume-type-tmpfs-3kj3</link>
      <guid>https://www.debug.school/tarun0314/docker-volume-type-tmpfs-3kj3</guid>
      <description>&lt;p&gt;&lt;strong&gt;How can we store container data in memory using docker volume&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;tmpfs&lt;/strong&gt; in Docker is used to store the container data into host's memory. But when the container is stopped or host system is restarted the data written into tmpfs will be lost.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;command for attaching tmpfs to container:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;docker run -itd --name --mount type=tmpfs,destination=/opt/example ubuntu&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Day 2 - Docker Images</title>
      <dc:creator>B. Tarun Kumar Reddy</dc:creator>
      <pubDate>Tue, 15 Nov 2022 06:49:24 +0000</pubDate>
      <link>https://www.debug.school/tarun0314/day-2-docker-images-hgf</link>
      <guid>https://www.debug.school/tarun0314/day-2-docker-images-hgf</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is a Docker image. Explain in 10 points.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;-&amp;gt; Docker image is a repository.&lt;br&gt;
-&amp;gt; Docker images are immutable, they can't be changed.&lt;br&gt;
-&amp;gt; Docker images can be duplicated, shared or deleted.&lt;br&gt;
-&amp;gt; Docker images contains the ROOTFS (root file system), USERFS (user file system), APPFS (application file systems for OPENJDK,TOMCAT and CUSTOMAPPS).&lt;br&gt;
-&amp;gt; ROOTFS and USERFS together called as basic layer of an image.&lt;br&gt;
-&amp;gt; Docker image consists of multiple filesystems OR it is a collection of multiple filesystems.&lt;br&gt;
-&amp;gt; File systems are called layers as they are on top of each other in the docker images.&lt;br&gt;
-&amp;gt; Each layer has a unique shad ID.&lt;br&gt;
-&amp;gt; Overlay2 is one of the storage driver used in docker to store docker images.&lt;br&gt;
-&amp;gt; whenever we make changes (like writing file/updating file), that changes will get updated in both merged layer and image layer.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Day 2 Assignment-1</title>
      <dc:creator>B. Tarun Kumar Reddy</dc:creator>
      <pubDate>Tue, 15 Nov 2022 04:57:49 +0000</pubDate>
      <link>https://www.debug.school/tarun0314/day-2-assignment-1-pj2</link>
      <guid>https://www.debug.school/tarun0314/day-2-assignment-1-pj2</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is use of "docker update" ?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;docker update&lt;/strong&gt; command updates the container configuration dynamically. This command is used to prevent the containers from use up too many resources from the docker host.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is the use of "docker wait" ?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;docker wait&lt;/strong&gt; command is used to block or wait until one or more containers stops, and then it shows the exit code as output, that is why we cannot use the terminal if we are running this command on the terminal.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Assignment 2 by Tarun</title>
      <dc:creator>B. Tarun Kumar Reddy</dc:creator>
      <pubDate>Mon, 14 Nov 2022 10:17:00 +0000</pubDate>
      <link>https://www.debug.school/tarun0314/assignment-2-by-tarun-4h0b</link>
      <guid>https://www.debug.school/tarun0314/assignment-2-by-tarun-4h0b</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is the difference between docker pause and docker unpause? &lt;br&gt;
Hint - docker stats&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;docker pause&lt;/strong&gt; - This command suspends all processes in the container which is specified by the user.&lt;br&gt;
&lt;strong&gt;docker unpause&lt;/strong&gt; - the docker unpause command resumes all processes in the container that is specified by the user.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is the difference between docker stop and docker kill Hints - Return value of linux + SIGNALs&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;docker stop&lt;/strong&gt; - docker stop will shutdown one or more running containers. docker stop sends a SIGTERM signal to the main process inside the container&lt;br&gt;
&lt;strong&gt;docker kill&lt;/strong&gt; - docker kill command kills one or more running containers immediately. The main process inside the container sends SIGKILL signal.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Understanding about Docker</title>
      <dc:creator>B. Tarun Kumar Reddy</dc:creator>
      <pubDate>Mon, 14 Nov 2022 07:22:48 +0000</pubDate>
      <link>https://www.debug.school/tarun0314/understanding-about-docker-2ki4</link>
      <guid>https://www.debug.school/tarun0314/understanding-about-docker-2ki4</guid>
      <description>&lt;p&gt;&lt;em&gt;Write a notes on following with your learning with last session:&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Docker?&lt;/strong&gt;&lt;br&gt;
Docker is a container management platform/tool. In general terms, It is a interface between humans and kernel.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Docker?&lt;/strong&gt;&lt;br&gt;
Docker can be used to save time, save memory and improve the quality of the software and decrease the capital expense by creating different environments on same Kernel&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Container?&lt;/strong&gt;&lt;br&gt;
Container can be defined as a running image that contains 1 PID tree, 1 network, 1 Root File System and User Namespace.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Docker workflow&lt;/strong&gt;&lt;br&gt;
User ---&amp;gt; Client ---&amp;gt; Docker host (Containers + Images) ---&amp;gt; Docker registry(Hub)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How container created?&lt;/strong&gt;&lt;br&gt;
We can download an image from Docker Registry and the images become Containers when they are running in Docker Engine.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
