<?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: Potukuchi Venkata Mahati</title>
    <description>The latest articles on Debug School by Potukuchi Venkata Mahati (@potukuchivenkatamahati).</description>
    <link>https://www.debug.school/potukuchivenkatamahati</link>
    <image>
      <url>https://www.debug.school/images/rbwychfVz8sSWKSu6qiSroV1UFMUq3JhqwXSFJ1KNL8/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzIxNC8yNGM3/ZWJlYS0wYzBkLTRk/YTMtYWNhYy01ZjA1/ZGI5MzA5NmUucG5n</url>
      <title>Debug School: Potukuchi Venkata Mahati</title>
      <link>https://www.debug.school/potukuchivenkatamahati</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/potukuchivenkatamahati"/>
    <language>en</language>
    <item>
      <title>DevOps Training - GIT Questions - Assessment 1</title>
      <dc:creator>Potukuchi Venkata Mahati</dc:creator>
      <pubDate>Fri, 18 Nov 2022 07:32:00 +0000</pubDate>
      <link>https://www.debug.school/potukuchivenkatamahati/devops-training-git-questions-assessment-1-2ebl</link>
      <guid>https://www.debug.school/potukuchivenkatamahati/devops-training-git-questions-assessment-1-2ebl</guid>
      <description>&lt;p&gt;&lt;strong&gt;Write a Notes on Debug.school which must contains all the GIT commands which you learnt and one line explanation.&lt;/strong&gt;&lt;br&gt;
git init: to init or create a local repository&lt;br&gt;
git clone: to clone the remote repository to local&lt;br&gt;
git pull: to pull the changes remote repository to local(working dir)&lt;br&gt;
git add: to move the file to the staging area&lt;br&gt;
git commit: to commit the code to the local repository&lt;br&gt;
git push: to push the code to the remote repository&lt;br&gt;
git stash: to stash the local changes in a temporary folder&lt;br&gt;
git stash pop: to pop the stashed changes&lt;br&gt;
git merge: to merge the changes between two local repos&lt;br&gt;
git fetch: git fetch is a primary command used to download contents from a remote repository&lt;br&gt;
git pull: Git fetch + Git Merge&lt;br&gt;
git cherrypick: to merge the particular change from feature to master branch or any branch&lt;br&gt;
git rm: remove the change or unstage it from local repo&lt;br&gt;
git tag: to tag the latest commit in a local branch&lt;br&gt;
git tag -d : delete the tag&lt;br&gt;
git mv : to move the file or changes between two folders in local repo&lt;br&gt;
git diff : to check the difference between two commits, two commit id need to be passed as arguments&lt;br&gt;
git log: to check the history of commit for a specific branch&lt;br&gt;
git revert: to revert the latest changes or commits from local branch&lt;br&gt;
git status: to check the status of the particular change or file&lt;br&gt;
git config : To set the configuration for your git repo like username , Email&lt;/p&gt;

</description>
      <category>git</category>
      <category>devops</category>
      <category>training</category>
      <category>assessment</category>
    </item>
    <item>
      <title>DevOps Training - Docker Questions - Assessment 6 : Day 3</title>
      <dc:creator>Potukuchi Venkata Mahati</dc:creator>
      <pubDate>Wed, 16 Nov 2022 05:15:00 +0000</pubDate>
      <link>https://www.debug.school/potukuchivenkatamahati/devops-training-docker-questions-assessment-6-day-3-3lfi</link>
      <guid>https://www.debug.school/potukuchivenkatamahati/devops-training-docker-questions-assessment-6-day-3-3lfi</guid>
      <description>&lt;p&gt;&lt;strong&gt;How can we store container data in memory using docker volume?&lt;/strong&gt;&lt;br&gt;
We can use the tempfs as mount type.&lt;br&gt;
This is a type of filesystem which is stored in container's memory, so this is temporary storage, when we stop the container, the data written to this tmpfs will be lost.&lt;br&gt;
This is the fastest way to access memory.&lt;br&gt;
It can be used to process the runtime data like some queue in storage, some mathematical formulas, etc. &lt;br&gt;
We can not attach this volume with some other container because we don't know the Physical location in this case.&lt;/p&gt;

&lt;p&gt;Below is the command for attaching tmpfs to container -&lt;/p&gt;

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

</description>
      <category>docker</category>
      <category>devops</category>
      <category>assessment</category>
      <category>training</category>
    </item>
    <item>
      <title>DevOps Training - Docker Questions - Assessment 4 : Day 2</title>
      <dc:creator>Potukuchi Venkata Mahati</dc:creator>
      <pubDate>Tue, 15 Nov 2022 06:28:00 +0000</pubDate>
      <link>https://www.debug.school/potukuchivenkatamahati/devops-training-docker-questions-assessment-4-day-2-185m</link>
      <guid>https://www.debug.school/potukuchivenkatamahati/devops-training-docker-questions-assessment-4-day-2-185m</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is a Docker image. Explain in 10 points.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Docker image is a repository.&lt;/li&gt;
&lt;li&gt; It is just a name for human beings to remember instead of numbers.&lt;/li&gt;
&lt;li&gt; 100s of base docker images are stored in hub.docker.com called registry.&lt;/li&gt;
&lt;li&gt; Docker image consists of multiple filesystems
  -- ROOTFS + USERFS + ... //This both together are called base image&lt;/li&gt;
&lt;li&gt; Docker image consists of multiple filesystems OR it is a collection of multiple filesystems.&lt;/li&gt;
&lt;li&gt; Docker image has file system versioning.&lt;/li&gt;
&lt;li&gt; File systems are called layers as they are on top of each other in the docker images.&lt;/li&gt;
&lt;li&gt; Each layer has a unique shad ID.&lt;/li&gt;
&lt;li&gt; All these layers merge to create one layer called mount.&lt;/li&gt;
&lt;li&gt;Mount gets attached during runtime to the user.&lt;/li&gt;
&lt;li&gt;Changes made like writing file, updating file, etc. are updated in both merged layer and image layer.&lt;/li&gt;
&lt;li&gt;For encrypting docker images, sha2-256bit algorithm is used.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>docker</category>
      <category>devops</category>
      <category>assessment</category>
      <category>training</category>
    </item>
    <item>
      <title>DevOps Training - Docker Questions - Assessment 3 : Day 2</title>
      <dc:creator>Potukuchi Venkata Mahati</dc:creator>
      <pubDate>Tue, 15 Nov 2022 04:55:00 +0000</pubDate>
      <link>https://www.debug.school/potukuchivenkatamahati/devops-training-docker-questions-assessment-3-day-2-3ao8</link>
      <guid>https://www.debug.school/potukuchivenkatamahati/devops-training-docker-questions-assessment-3-day-2-3ao8</guid>
      <description>&lt;p&gt;&lt;strong&gt;1. What is the use of "docker update"? Hint - docker run --help&lt;/strong&gt;&lt;br&gt;
   Docker Update is used for configuring one or more containers during runtime to modify the resources like number of CPU, memory limit, PID limit dynamically to avoid limiting the usage of resources on the host machine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. What is the use of "docker wait"?&lt;/strong&gt;&lt;br&gt;
   Docker wait command is used to wait until one or more containers stop for continuing with the next action.&lt;/p&gt;

</description>
      <category>docker</category>
      <category>devops</category>
      <category>assessment</category>
      <category>training</category>
    </item>
    <item>
      <title>DevOps Training - Docker Questions - Assessment 2</title>
      <dc:creator>Potukuchi Venkata Mahati</dc:creator>
      <pubDate>Mon, 14 Nov 2022 09:49:58 +0000</pubDate>
      <link>https://www.debug.school/potukuchivenkatamahati/devops-training-docker-questions-assessment-2-1ilj</link>
      <guid>https://www.debug.school/potukuchivenkatamahati/devops-training-docker-questions-assessment-2-1ilj</guid>
      <description>&lt;p&gt;&lt;strong&gt;1. What is the difference between docker pause and docker unpause? (Hint - docker stats)&lt;/strong&gt;&lt;br&gt;
   The docker pause command suspends all processes in the specified container whereas the docker unpause command resumes all processes in the specified container.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. What is the difference between docker stop and docker kill (Hints - Return value of linux + SIGNALs)&lt;/strong&gt;&lt;br&gt;
   Below are the differences -&lt;br&gt;
    a) docker stop attempts to gracefully shutdown the container whereas docker kill stops/terminates the container immediately.&lt;br&gt;
    b) docker stop returns None as return value whereas docker kill returns 0 (true) if the process was killed or1 (false) if the kill failed.&lt;br&gt;
    c) docker stop sends a SIGTERM signal to the main process inside the container whereas docker kill sends a SIGKILL signal.&lt;/p&gt;

</description>
      <category>docker</category>
      <category>devops</category>
      <category>assessment</category>
      <category>training</category>
    </item>
    <item>
      <title>DevOps Training - Docker Questions - Assessment 1</title>
      <dc:creator>Potukuchi Venkata Mahati</dc:creator>
      <pubDate>Mon, 14 Nov 2022 07:15:00 +0000</pubDate>
      <link>https://www.debug.school/potukuchivenkatamahati/devops-training-docker-questions-3pj9</link>
      <guid>https://www.debug.school/potukuchivenkatamahati/devops-training-docker-questions-3pj9</guid>
      <description>&lt;p&gt;&lt;strong&gt;1. What is Docker?&lt;/strong&gt;&lt;br&gt;
   Docker is a Container Management Tool which helps to build, deploy, run, update and manage containers.&lt;br&gt;
&lt;strong&gt;2. Why Docker?&lt;/strong&gt;&lt;br&gt;
   Docker is used in order to mainly save time and resources. To avoid the havoc of multiple resource creation and management.&lt;br&gt;
&lt;strong&gt;3. What is Container&lt;/strong&gt;&lt;br&gt;
   A container is a runnable instance of a docker image which can be used to run applications.&lt;br&gt;
&lt;strong&gt;4. Docker workflow&lt;/strong&gt;&lt;br&gt;
   Docker Daemon -&amp;gt; Docker CLI -&amp;gt; Docker Engine API&lt;br&gt;
Docker Host -&amp;gt; Docker Client -&amp;gt; Docker Registry (Hub)&lt;br&gt;
&lt;strong&gt;5. How container created?&lt;/strong&gt;&lt;br&gt;
Source Docker Image -&amp;gt; Run the image -&amp;gt; make it active&lt;br&gt;
The docker daemon requests the kernel for creating a Linux namespace with a mount, an isolated network and the runtime environment.&lt;/p&gt;

</description>
      <category>docker</category>
      <category>devops</category>
      <category>training</category>
      <category>assessment</category>
    </item>
  </channel>
</rss>
