<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Docker Assignment &#038; Projects	</title>
	<atom:link href="https://www.bestdevops.com/docker-assignment-for-interview-preparations/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/</link>
	<description>Lets Learn, Do it &#38; Share! Thats a Best DevOps!!!</description>
	<lastBuildDate>Tue, 13 Dec 2022 04:42:48 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>
	<item>
		<title>
		By: basebbeh		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-446</link>

		<dc:creator><![CDATA[basebbeh]]></dc:creator>
		<pubDate>Tue, 13 Dec 2022 04:42:48 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-446</guid>

					<description><![CDATA[&lt;strong&gt;7. List of 20 Docker commands and its use cases with &#160;example?&lt;/strong&gt;
&lt;strong&gt;&lt;u&gt;Docker ps:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; This command is used to list all the running containers in the background.&lt;/span&gt;

&lt;strong&gt;&lt;u&gt;Docker ps -a&lt;/u&gt;&lt;/strong&gt;&lt;span&gt;: This command is used to know the details of all the running, stopped, or exited containers.&lt;/span&gt;

&lt;strong&gt;&lt;u&gt;Docker version&lt;/u&gt;&lt;/strong&gt;&lt;span&gt;: We usually start by finding the installed version of docker that we are working on.&lt;/span&gt;

&lt;strong&gt;&lt;u&gt;Docker pull&lt;/u&gt;&lt;/strong&gt;&lt;span&gt;: As the name suggests, this command pulls a specific image from the Docker Hub. All you have to do is use the command ‘docker pull’ along with the name of the image. Here is an example of pulling an image without using the tag.&lt;/span&gt;

&lt;strong&gt;&lt;u&gt;Docker run:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; This command is used to create a container from an image.&lt;/span&gt;

&lt;strong&gt;&lt;u&gt;Docker stop:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; The ‘docker stop’ command stops a container using the container name or its id.&lt;/span&gt;

&lt;strong&gt;&lt;u&gt;Docker restart:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; This command is used to restart the stopped container. It is recommended to use this after rebooting the system.&lt;/span&gt;

&lt;strong&gt;&lt;u&gt;Docker kill:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt;This command is used to stop the container immediately by killing its execution. While the ‘docker stop’ command helps shut down the container in its own time, the ‘docker kill’ command stops it at once.&lt;/span&gt;

&lt;strong&gt;&lt;u&gt;Docker login:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt;This command helps you to log into your docker hub. As you try to log in, you will be asked to give your docker hub credentials.&lt;/span&gt;

&lt;strong&gt;&lt;u&gt;Docker network:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt;The ‘docker network’ command is used to know the details of the list of networks in the cluster.&lt;/span&gt;

&lt;strong&gt;&lt;u&gt;Docker-compose down:&lt;/u&gt; &lt;/strong&gt;&lt;span&gt;You need to stop all services declared in a docker-compose file.&lt;/span&gt;
&lt;strong&gt;&lt;u&gt;Docker-compose logs:&lt;/u&gt; &lt;/strong&gt;&lt;span&gt;Your service crashed on launch and you want to know why.&lt;/span&gt;
&lt;strong&gt;&lt;u&gt;Docker-compose stop:&lt;/u&gt; &lt;/strong&gt;&lt;span&gt;You want to stop your container by service name or container name.&lt;/span&gt;
&lt;strong&gt;&lt;u&gt;Docker-compose restart:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; You want to restart a container with the service name or container name.&lt;/span&gt;

&lt;strong&gt;&lt;u&gt;Docker-compose exec:&lt;/u&gt; &#160;&lt;/strong&gt;&lt;span&gt;You want to access inside the launched container and execute something, similar with docker exec.&#160;&lt;/span&gt;
&lt;strong&gt;&lt;u&gt;Docker-compose down:&lt;/u&gt; &lt;/strong&gt;&lt;span&gt;You need to stop all services declared in a docker-compose file.&lt;/span&gt;
&lt;strong&gt;&lt;u&gt;Docker rmi:&lt;/u&gt; &#160;&lt;/strong&gt;&lt;span&gt;You need more space on your disk.&lt;/span&gt;&lt;u&gt;&#160;&lt;/u&gt;&lt;strong&gt;&#160;&lt;/strong&gt;&lt;strong&gt;&#160;&lt;/strong&gt;&lt;strong&gt;&#160;&lt;/strong&gt;&lt;strong&gt;&#160;&lt;/strong&gt;&#160;]]></description>
			<content:encoded><![CDATA[<p><strong>7. List of 20 Docker commands and its use cases with &nbsp;example?</strong><br />
<strong><u>Docker ps:</u></strong><span> This command is used to list all the running containers in the background.</span></p>
<p><strong><u>Docker ps -a</u></strong><span>: This command is used to know the details of all the running, stopped, or exited containers.</span></p>
<p><strong><u>Docker version</u></strong><span>: We usually start by finding the installed version of docker that we are working on.</span></p>
<p><strong><u>Docker pull</u></strong><span>: As the name suggests, this command pulls a specific image from the Docker Hub. All you have to do is use the command ‘docker pull’ along with the name of the image. Here is an example of pulling an image without using the tag.</span></p>
<p><strong><u>Docker run:</u></strong><span> This command is used to create a container from an image.</span></p>
<p><strong><u>Docker stop:</u></strong><span> The ‘docker stop’ command stops a container using the container name or its id.</span></p>
<p><strong><u>Docker restart:</u></strong><span> This command is used to restart the stopped container. It is recommended to use this after rebooting the system.</span></p>
<p><strong><u>Docker kill:</u></strong><span>This command is used to stop the container immediately by killing its execution. While the ‘docker stop’ command helps shut down the container in its own time, the ‘docker kill’ command stops it at once.</span></p>
<p><strong><u>Docker login:</u></strong><span>This command helps you to log into your docker hub. As you try to log in, you will be asked to give your docker hub credentials.</span></p>
<p><strong><u>Docker network:</u></strong><span>The ‘docker network’ command is used to know the details of the list of networks in the cluster.</span></p>
<p><strong><u>Docker-compose down:</u> </strong><span>You need to stop all services declared in a docker-compose file.</span><br />
<strong><u>Docker-compose logs:</u> </strong><span>Your service crashed on launch and you want to know why.</span><br />
<strong><u>Docker-compose stop:</u> </strong><span>You want to stop your container by service name or container name.</span><br />
<strong><u>Docker-compose restart:</u></strong><span> You want to restart a container with the service name or container name.</span></p>
<p><strong><u>Docker-compose exec:</u> &nbsp;</strong><span>You want to access inside the launched container and execute something, similar with docker exec.&nbsp;</span><br />
<strong><u>Docker-compose down:</u> </strong><span>You need to stop all services declared in a docker-compose file.</span><br />
<strong><u>Docker rmi:</u> &nbsp;</strong><span>You need more space on your disk.</span><u>&nbsp;</u><strong>&nbsp;</strong><strong>&nbsp;</strong><strong>&nbsp;</strong><strong>&nbsp;</strong>&nbsp;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: basebbeh		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-445</link>

		<dc:creator><![CDATA[basebbeh]]></dc:creator>
		<pubDate>Tue, 13 Dec 2022 04:40:29 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-445</guid>

					<description><![CDATA[&lt;span&gt;6. What is the difference between CMD vs Entrypoint.&lt;/span&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;&lt;u&gt;CMD:&lt;/u&gt;&lt;/strong&gt; Sets default command and parameters, which can be overwritten from command line when Docker container runs. &lt;/li&gt;&lt;/ul&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;&lt;u&gt;ENTRYPOINT:&lt;/u&gt;&lt;/strong&gt; Command and parameters will not be overwritten from command line. Instead, all command line arguments will be added after entry points parameters.&lt;/li&gt;&lt;/ul&gt;]]></description>
			<content:encoded><![CDATA[<p><span>6. What is the difference between CMD vs Entrypoint.</span></p>
<ul>
<li><strong><u>CMD:</u></strong> Sets default command and parameters, which can be overwritten from command line when Docker container runs. </li>
</ul>
<ul>
<li><strong><u>ENTRYPOINT:</u></strong> Command and parameters will not be overwritten from command line. Instead, all command line arguments will be added after entry points parameters.</li>
</ul>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: basebbeh		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-444</link>

		<dc:creator><![CDATA[basebbeh]]></dc:creator>
		<pubDate>Tue, 13 Dec 2022 04:06:46 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-444</guid>

					<description><![CDATA[&lt;strong&gt;5. List of Dockerfile instructions and its Brief Summary? &lt;/strong&gt;
&lt;span&gt; There are a variety of Dockerfile instructions we can put in our Dockerfile. &lt;/span&gt;
&lt;span&gt; These includes:&lt;/span&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;&lt;u&gt;ADD:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; &#160;&lt;/span&gt;&lt;span&gt;Add the files to the images.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;br&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;u&gt;COPY:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; &#160;Used &lt;/span&gt;&lt;span&gt;to copy files and directories inside a Docker container from your Local machine.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;br&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;u&gt;EXPOSE:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;The&lt;/span&gt;&lt;strong&gt;&#160;&lt;/strong&gt;&lt;span&gt;instruction exposes a particular port with a specified protocol inside a Docker Container.&#160;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;br&gt;&lt;/li&gt;&lt;li&gt;&lt;u&gt;FROM:&lt;/u&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;To pull base images like alpine,ubuntu,etc.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;br&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;u&gt;LABEL:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Labels are used in&#160;&lt;/span&gt;Dockerfile&lt;em&gt;&#160;&lt;/em&gt;to help organize your Docker Images.&lt;/li&gt;&lt;li&gt;&lt;br&gt;&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;u&gt;USER:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; We are going to use the&#160;&lt;/span&gt;&lt;strong&gt;user&lt;/strong&gt;&lt;span&gt;&#160;instruction to switch the user inside the Container from Root to the one which we will create.&#160;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;&lt;u&gt;WORKDIR:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; &#160;Instruction is used to set the working directory for all the subsequent&#160;&lt;/span&gt;Dockerfile&lt;em&gt;&#160;&lt;/em&gt;instructions.&#160;&lt;/li&gt;&lt;/ul&gt;]]></description>
			<content:encoded><![CDATA[<p><strong>5. List of Dockerfile instructions and its Brief Summary? </strong><br />
<span> There are a variety of Dockerfile instructions we can put in our Dockerfile. </span><br />
<span> These includes:</span></p>
<ul>
<li><strong><u>ADD:</u></strong><span> &nbsp;</span><span>Add the files to the images.</span></li>
<li></li>
<li><strong><u>COPY:</u></strong><span> &nbsp;Used </span><span>to copy files and directories inside a Docker container from your Local machine.</span></li>
<li></li>
<li><strong><u>EXPOSE:</u></strong><span> </span><span>The</span><strong>&nbsp;</strong><span>instruction exposes a particular port with a specified protocol inside a Docker Container.&nbsp;</span></li>
<li></li>
<li><u>FROM:</u><span> </span><span>To pull base images like alpine,ubuntu,etc.</span></li>
<li></li>
<li><strong><u>LABEL:</u></strong><span> </span><span>Labels are used in&nbsp;</span>Dockerfile<em>&nbsp;</em>to help organize your Docker Images.</li>
<li></li>
<li><strong><u>USER:</u></strong><span> We are going to use the&nbsp;</span><strong>user</strong><span>&nbsp;instruction to switch the user inside the Container from Root to the one which we will create.&nbsp;</span></li>
</ul>
<ul>
<li><strong><u>WORKDIR:</u></strong><span> &nbsp;Instruction is used to set the working directory for all the subsequent&nbsp;</span>Dockerfile<em>&nbsp;</em>instructions.&nbsp;</li>
</ul>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: basebbeh		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-443</link>

		<dc:creator><![CDATA[basebbeh]]></dc:creator>
		<pubDate>Tue, 13 Dec 2022 03:08:17 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-443</guid>

					<description><![CDATA[&lt;strong&gt;4. What is the difference between Docker exec and attach?&lt;/strong&gt;
&lt;strong&gt;&lt;u&gt;Docker exec&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; executes a new command or create a new process in the&#160;&lt;/span&gt;container&#039;s environment&lt;span&gt;.&lt;/span&gt;
&lt;span&gt;&#160;&lt;/span&gt;
&lt;strong&gt;&lt;u&gt;Docker attach&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; basically used to attach your host systems standard input, standard output and standard error with that of a container.&lt;/span&gt;
&lt;span&gt;&#160;&lt;/span&gt;]]></description>
			<content:encoded><![CDATA[<p><strong>4. What is the difference between Docker exec and attach?</strong><br />
<strong><u>Docker exec</u></strong><span> executes a new command or create a new process in the&nbsp;</span>container&#8217;s environment<span>.</span><br />
<span>&nbsp;</span><br />
<strong><u>Docker attach</u></strong><span> basically used to attach your host systems standard input, standard output and standard error with that of a container.</span><br />
<span>&nbsp;</span></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: basebbeh		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-442</link>

		<dc:creator><![CDATA[basebbeh]]></dc:creator>
		<pubDate>Tue, 13 Dec 2022 02:46:48 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-442</guid>

					<description><![CDATA[&lt;strong&gt;3. What is the difference between Docker stop and kill?&lt;/strong&gt;
&#160;
&lt;strong&gt;The&#160;&lt;u&gt;Docker Stop&lt;/u&gt;&#160;command stops the container gracefully and provides a safe way out.&lt;/strong&gt;
&lt;strong&gt;&lt;span class=&quot;ql-cursor&quot;&gt;﻿&lt;/span&gt;&lt;/strong&gt;
&lt;strong&gt;If a&#160;&lt;u&gt;Docker Stop&lt;/u&gt;&#160;command fails to terminate a process within the specified timeout, the Docker issues a kill command implicitly and immediately.&lt;/strong&gt;]]></description>
			<content:encoded><![CDATA[<p><strong>3. What is the difference between Docker stop and kill?</strong><br />
&nbsp;<br />
<strong>The&nbsp;<u>Docker Stop</u>&nbsp;command stops the container gracefully and provides a safe way out.</strong><br />
<strong><span class="ql-cursor">﻿</span></strong><br />
<strong>If a&nbsp;<u>Docker Stop</u>&nbsp;command fails to terminate a process within the specified timeout, the Docker issues a kill command implicitly and immediately.</strong></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: basebbeh		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-441</link>

		<dc:creator><![CDATA[basebbeh]]></dc:creator>
		<pubDate>Tue, 13 Dec 2022 02:38:55 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-441</guid>

					<description><![CDATA[&lt;strong&gt;2. What is the difference between Docker pause &#160;and unpause?&lt;/strong&gt;
&#160;
If we want to pause the processes running inside the container, we use the “docker pause” command. To unpause the container, use “docker unpause” command.]]></description>
			<content:encoded><![CDATA[<p><strong>2. What is the difference between Docker pause &nbsp;and unpause?</strong><br />
&nbsp;<br />
If we want to pause the processes running inside the container, we use the “docker pause” command. To unpause the container, use “docker unpause” command.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: basebbeh		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-440</link>

		<dc:creator><![CDATA[basebbeh]]></dc:creator>
		<pubDate>Tue, 13 Dec 2022 02:33:20 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-440</guid>

					<description><![CDATA[&lt;strong&gt;1. Components of Docker and its Brief Summary?&lt;/strong&gt;

&lt;strong&gt;&lt;u&gt;Docker client and server:&lt;/u&gt;&lt;/strong&gt; Docker Engine is installed on the server side and the client side just consist of the Command Line Interface used for issuing commands to Docker Engine.

&lt;strong&gt;&lt;u&gt;Docker image:&lt;/u&gt;&lt;/strong&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;A Docker image is&#160;a file used to execute code in a Docker container.&lt;/span&gt;
&lt;span&gt;&#160;&lt;/span&gt;
&lt;strong&gt;&lt;u&gt;Docker registry&lt;/u&gt;&lt;/strong&gt;&lt;u&gt;:&lt;/u&gt;&lt;span&gt; &#160;A Docker registry is&#160;&lt;/span&gt;a storage and distribution system for named Docker images.

&lt;strong&gt;&lt;u&gt;Docker container:&lt;/u&gt; &lt;/strong&gt;&lt;span&gt;A Docker container image&#160;&lt;/span&gt;&lt;span&gt;is a lightweight, standalone, executable package of software that includes everything needed to run an application.&lt;/span&gt;
&lt;span&gt;&#160;&lt;/span&gt;]]></description>
			<content:encoded><![CDATA[<p><strong>1. Components of Docker and its Brief Summary?</strong></p>
<p><strong><u>Docker client and server:</u></strong> Docker Engine is installed on the server side and the client side just consist of the Command Line Interface used for issuing commands to Docker Engine.</p>
<p><strong><u>Docker image:</u></strong><span> </span><span>A Docker image is&nbsp;a file used to execute code in a Docker container.</span><br />
<span>&nbsp;</span><br />
<strong><u>Docker registry</u></strong><u>:</u><span> &nbsp;A Docker registry is&nbsp;</span>a storage and distribution system for named Docker images.</p>
<p><strong><u>Docker container:</u> </strong><span>A Docker container image&nbsp;</span><span>is a lightweight, standalone, executable package of software that includes everything needed to run an application.</span><br />
<span>&nbsp;</span></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sai Charan.T		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-334</link>

		<dc:creator><![CDATA[Sai Charan.T]]></dc:creator>
		<pubDate>Mon, 29 Aug 2022 17:08:48 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-334</guid>

					<description><![CDATA[7. List of 20 docker commands and its use cases with example?
	Docker version
We usually start by finding the installed version of docker that we are working on.

	Docker search&#160;
The “docker search” command searches for specific images through the Docker hub. This command returns the specific information, including image name, description, automated, official stars, etc.

	Docker pull
As the name suggests, this command pulls a specific image from the Docker Hub. All you have to do is use the command ‘docker pull’ along with the name of the image. Here is an example of pulling an image without using the tag.&#160;

	Docker run&#160;
This command is used to create a container from an image.

	Docker ps
This command is used to list all the running containers in the background.&#160;

	Docker stop&#160;
The ‘docker stop’ command stops a container using the container name or its id.&#160;

	Docker restart&#160;
This command is used to restart the stopped container. It is recommended to use this after rebooting the system.

	Docker kill
This command is used to stop the container immediately by killing its execution. While the ‘docker stop’ command helps shut down the container in its own time, the ‘docker kill’ command stops it at once.

	Docker exec&#160;
This command is used to access the container that is running.&#160;

	Docker login
This command helps you to log into your docker hub. As you try to log in, you will be asked to give your docker hub credentials.&#160;

	Docker commit&#160;
This command is used to create or save an image of the edited container on the local system.&#160;

	Docker push&#160;
This command helps push or upload a docker image on the repository or the docker hub.&#160;

	Docker network&#160;
The ‘docker network’ command is used to know the details of the list of networks in the cluster.&#160;

	Docker rmi&#160;
This command is used to free up some disk space. The image id is used to remove the image while using this command.

	Docker ps -a
This command is used to know the details of all the running, stopped, or exited containers.&#160;

	Docker copy
This command copies a file from docker to the local system.

	Docker logs&#160;&#160;
This command is used to check the logs of all the docker containers with the corresponding contained id mentioned in the command.

	Docker volume&#160;
This command creates a volume so that the docker container can use it to store data.

	Docker logout&#160;
This command will log you out of the docker hub.&#160;]]></description>
			<content:encoded><![CDATA[<p>7. List of 20 docker commands and its use cases with example?<br />
	Docker version<br />
We usually start by finding the installed version of docker that we are working on.</p>
<p>	Docker search&nbsp;<br />
The “docker search” command searches for specific images through the Docker hub. This command returns the specific information, including image name, description, automated, official stars, etc.</p>
<p>	Docker pull<br />
As the name suggests, this command pulls a specific image from the Docker Hub. All you have to do is use the command ‘docker pull’ along with the name of the image. Here is an example of pulling an image without using the tag.&nbsp;</p>
<p>	Docker run&nbsp;<br />
This command is used to create a container from an image.</p>
<p>	Docker ps<br />
This command is used to list all the running containers in the background.&nbsp;</p>
<p>	Docker stop&nbsp;<br />
The ‘docker stop’ command stops a container using the container name or its id.&nbsp;</p>
<p>	Docker restart&nbsp;<br />
This command is used to restart the stopped container. It is recommended to use this after rebooting the system.</p>
<p>	Docker kill<br />
This command is used to stop the container immediately by killing its execution. While the ‘docker stop’ command helps shut down the container in its own time, the ‘docker kill’ command stops it at once.</p>
<p>	Docker exec&nbsp;<br />
This command is used to access the container that is running.&nbsp;</p>
<p>	Docker login<br />
This command helps you to log into your docker hub. As you try to log in, you will be asked to give your docker hub credentials.&nbsp;</p>
<p>	Docker commit&nbsp;<br />
This command is used to create or save an image of the edited container on the local system.&nbsp;</p>
<p>	Docker push&nbsp;<br />
This command helps push or upload a docker image on the repository or the docker hub.&nbsp;</p>
<p>	Docker network&nbsp;<br />
The ‘docker network’ command is used to know the details of the list of networks in the cluster.&nbsp;</p>
<p>	Docker rmi&nbsp;<br />
This command is used to free up some disk space. The image id is used to remove the image while using this command.</p>
<p>	Docker ps -a<br />
This command is used to know the details of all the running, stopped, or exited containers.&nbsp;</p>
<p>	Docker copy<br />
This command copies a file from docker to the local system.</p>
<p>	Docker logs&nbsp;&nbsp;<br />
This command is used to check the logs of all the docker containers with the corresponding contained id mentioned in the command.</p>
<p>	Docker volume&nbsp;<br />
This command creates a volume so that the docker container can use it to store data.</p>
<p>	Docker logout&nbsp;<br />
This command will log you out of the docker hub.&nbsp;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sai Charan.T		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-333</link>

		<dc:creator><![CDATA[Sai Charan.T]]></dc:creator>
		<pubDate>Mon, 29 Aug 2022 17:08:27 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-333</guid>

					<description><![CDATA[6. What is the differenet between CMD vs Entrypoint?
	CMD commands are ignored by Daemon when there are parameters stated within the docker run command.
	ENTRYPOINT instructions are not ignored but instead are appended as command line parameters by treating those as arguments of the command.]]></description>
			<content:encoded><![CDATA[<p>6. What is the differenet between CMD vs Entrypoint?<br />
	CMD commands are ignored by Daemon when there are parameters stated within the docker run command.<br />
	ENTRYPOINT instructions are not ignored but instead are appended as command line parameters by treating those as arguments of the command.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sai Charan.T		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-332</link>

		<dc:creator><![CDATA[Sai Charan.T]]></dc:creator>
		<pubDate>Mon, 29 Aug 2022 17:08:04 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-332</guid>

					<description><![CDATA[5. List of dockerfile instructions and its Brief Summary?
	FROM: Create a basic image like httpd.
	RUN: It is to build the container
	MAINTAINER: Creates the images.
	ENV: Environment for image.
	COPY: Copies the file to images.]]></description>
			<content:encoded><![CDATA[<p>5. List of dockerfile instructions and its Brief Summary?<br />
	FROM: Create a basic image like httpd.<br />
	RUN: It is to build the container<br />
	MAINTAINER: Creates the images.<br />
	ENV: Environment for image.<br />
	COPY: Copies the file to images.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sai Charan.T		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-331</link>

		<dc:creator><![CDATA[Sai Charan.T]]></dc:creator>
		<pubDate>Mon, 29 Aug 2022 17:07:44 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-331</guid>

					<description><![CDATA[4. What is the differenet between docker exec and attach?
	Docker exec executes new command or create a new process in container
	Docker attach conncects the standard input/output/error of main process inside the container.]]></description>
			<content:encoded><![CDATA[<p>4. What is the differenet between docker exec and attach?<br />
	Docker exec executes new command or create a new process in container<br />
	Docker attach conncects the standard input/output/error of main process inside the container.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sai Charan.T		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-330</link>

		<dc:creator><![CDATA[Sai Charan.T]]></dc:creator>
		<pubDate>Mon, 29 Aug 2022 17:07:22 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-330</guid>

					<description><![CDATA[3. What is the differenet between docker stop and kill?
	Docker stop command stop a running container by sending SIGTERM signal to the root (PID 1) in container.
	Docker kill command kills one or more containers.]]></description>
			<content:encoded><![CDATA[<p>3. What is the differenet between docker stop and kill?<br />
	Docker stop command stop a running container by sending SIGTERM signal to the root (PID 1) in container.<br />
	Docker kill command kills one or more containers.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sai Charan.T		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-329</link>

		<dc:creator><![CDATA[Sai Charan.T]]></dc:creator>
		<pubDate>Mon, 29 Aug 2022 17:03:39 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-329</guid>

					<description><![CDATA[2. What is the differenet between docker pause and unpause?
	 Pause is to stop the process running inside containers
&#160;	Unpause is to resume the paused process inside containers]]></description>
			<content:encoded><![CDATA[<p>2. What is the differenet between docker pause and unpause?<br />
	 Pause is to stop the process running inside containers<br />
&nbsp;	Unpause is to resume the paused process inside containers</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sai Charan.T		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-328</link>

		<dc:creator><![CDATA[Sai Charan.T]]></dc:creator>
		<pubDate>Mon, 29 Aug 2022 17:03:09 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-328</guid>

					<description><![CDATA[1. Components of Docker and its Brief Summary
	Docker client – Docker user to communicate with Docker
&#160;	Docker host – It Consists of dockerd(daemon),containers and images&#160;
&#160;	Registry – It stores images where we can use docker pull to pull images from registry.&#160;]]></description>
			<content:encoded><![CDATA[<p>1. Components of Docker and its Brief Summary<br />
	Docker client – Docker user to communicate with Docker<br />
&nbsp;	Docker host – It Consists of dockerd(daemon),containers and images&nbsp;<br />
&nbsp;	Registry – It stores images where we can use docker pull to pull images from registry.&nbsp;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: rupa		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-327</link>

		<dc:creator><![CDATA[rupa]]></dc:creator>
		<pubDate>Mon, 29 Aug 2022 16:16:59 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-327</guid>

					<description><![CDATA[Components of docker and its brief summary
main components of docker are
Docker Swarm – Docker swarm is an orchestration service within docker that allows us to manage and handle multiple containers at the same time.
Docker Images – Docker images act as a set of instructions to build a docker container.
Docker Compose – Compose is a tool for running multiple containers.
difference between pause and unpause
docker pause will suspends all the processes inside the container,where as unpause will resume the processes
Difference between kill and stop
Docker kill will kill one or more containers .Docker stop will stop the running container]]></description>
			<content:encoded><![CDATA[<p>Components of docker and its brief summary<br />
main components of docker are<br />
Docker Swarm – Docker swarm is an orchestration service within docker that allows us to manage and handle multiple containers at the same time.<br />
Docker Images – Docker images act as a set of instructions to build a docker container.<br />
Docker Compose – Compose is a tool for running multiple containers.<br />
difference between pause and unpause<br />
docker pause will suspends all the processes inside the container,where as unpause will resume the processes<br />
Difference between kill and stop<br />
Docker kill will kill one or more containers .Docker stop will stop the running container</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rupa		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-326</link>

		<dc:creator><![CDATA[Rupa]]></dc:creator>
		<pubDate>Mon, 29 Aug 2022 16:07:37 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-326</guid>

					<description><![CDATA[Components of docker and its brief summary
main components of docker are
Docker Swarm - Docker swarm is an orchestration service within docker that allows us to manage and handle multiple containers at the same time.
Docker Images - Docker images act as a set of instructions to build a docker container.
Docker Compose - Compose is a tool for running multiple containers.

difference between pause and unpause
docker pause will suspends all the processes inside the container,where as unpause will resume the processes

Difference between kill and stop
Docker kill will kill one or more containers .Docker stop will stop the running container]]></description>
			<content:encoded><![CDATA[<p>Components of docker and its brief summary<br />
main components of docker are<br />
Docker Swarm &#8211; Docker swarm is an orchestration service within docker that allows us to manage and handle multiple containers at the same time.<br />
Docker Images &#8211; Docker images act as a set of instructions to build a docker container.<br />
Docker Compose &#8211; Compose is a tool for running multiple containers.</p>
<p>difference between pause and unpause<br />
docker pause will suspends all the processes inside the container,where as unpause will resume the processes</p>
<p>Difference between kill and stop<br />
Docker kill will kill one or more containers .Docker stop will stop the running container</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ashish 1234		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-325</link>

		<dc:creator><![CDATA[Ashish 1234]]></dc:creator>
		<pubDate>Mon, 29 Aug 2022 14:32:19 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-325</guid>

					<description><![CDATA[https://github.com/ashishdevops123/assignments.git]]></description>
			<content:encoded><![CDATA[<p><a href="https://github.com/ashishdevops123/assignments.git" rel="nofollow ugc">https://github.com/ashishdevops123/assignments.git</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Prasanna Kumar Panda		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-226</link>

		<dc:creator><![CDATA[Prasanna Kumar Panda]]></dc:creator>
		<pubDate>Wed, 27 Jul 2022 07:08:14 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-226</guid>

					<description><![CDATA[&lt;span&gt;1.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Components of Docker and its Brief Summary&lt;/span&gt;
&lt;span&gt;Docker client and server collectively called as docker engine&lt;/span&gt;
&lt;span&gt;Registry (remote as well as Local)&lt;/span&gt;
&lt;span&gt;Docker image and containers&lt;/span&gt;
&lt;span&gt;2.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;What is the differenet between docker pause and unpause?&lt;/span&gt;
&lt;span&gt;Pause # &#160;the container process remains active but all container specific services stop transactions&lt;/span&gt;
&lt;span&gt;Unpause # resumes &lt;/span&gt;
&lt;span&gt;3.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;What is the differenet between docker stop and kill?&lt;/span&gt;
&lt;span&gt;Docker stop # shuts down the container process&lt;/span&gt;
&lt;span&gt;Docker kill # removes the container &lt;/span&gt;
&lt;span&gt;4.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;What is the differenet between docker exec and attach?&lt;/span&gt;
&lt;span&gt;Docker exec # runs a process insdie the container by invoking the command from host&lt;/span&gt;
&lt;span&gt;Docker attach # docker start + docker exec to prevent PID conflict during container creation&lt;/span&gt;
&lt;span&gt;5.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;List of dockerfile instructions and its Brief Summary?&lt;/span&gt;
&lt;span&gt;Dockerfile briefly covers the name of image , additional software installation , binding or copying the source code from the repository path and the initial executions &lt;/span&gt;
&lt;span&gt;This can be used by using statements with functions like Pull , run ,add ,copy etc&lt;/span&gt;
&lt;span&gt;6.&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;What is the differenet between CMD vs Entrypoint&lt;/span&gt;
&lt;span&gt;Entrypoint Starts a process after starting the container and CMD defines the default parameters to be used along with entry point command&lt;/span&gt;]]></description>
			<content:encoded><![CDATA[<p><span>1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Components of Docker and its Brief Summary</span><br />
<span>Docker client and server collectively called as docker engine</span><br />
<span>Registry (remote as well as Local)</span><br />
<span>Docker image and containers</span><br />
<span>2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;What is the differenet between docker pause and unpause?</span><br />
<span>Pause # &nbsp;the container process remains active but all container specific services stop transactions</span><br />
<span>Unpause # resumes </span><br />
<span>3.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;What is the differenet between docker stop and kill?</span><br />
<span>Docker stop # shuts down the container process</span><br />
<span>Docker kill # removes the container </span><br />
<span>4.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;What is the differenet between docker exec and attach?</span><br />
<span>Docker exec # runs a process insdie the container by invoking the command from host</span><br />
<span>Docker attach # docker start + docker exec to prevent PID conflict during container creation</span><br />
<span>5.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;List of dockerfile instructions and its Brief Summary?</span><br />
<span>Dockerfile briefly covers the name of image , additional software installation , binding or copying the source code from the repository path and the initial executions </span><br />
<span>This can be used by using statements with functions like Pull , run ,add ,copy etc</span><br />
<span>6.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;What is the differenet between CMD vs Entrypoint</span><br />
<span>Entrypoint Starts a process after starting the container and CMD defines the default parameters to be used along with entry point command</span></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sunil		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-225</link>

		<dc:creator><![CDATA[Sunil]]></dc:creator>
		<pubDate>Tue, 26 Jul 2022 18:44:05 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-225</guid>

					<description><![CDATA[&lt;strong&gt; Components of Docker and its Brief Summary&lt;/strong&gt;1  Docker client: it is used to communicate with the docker server (dockerd)
2 Docker server: it contains dockerd and container 
Docker image: the docker templet which contains info of the docker container.
Docker registry&#160;: library of images .
Docker container: the full package which we required to run an application .

&lt;strong&gt;What is the difference between docker pause and unpause?&lt;/strong&gt;&lt;span&gt;pause: to stop the process running inside containers.&lt;/span&gt;
&lt;span&gt;unpause- to resume the paused process inside containers.&lt;/span&gt;

&lt;strong&gt;What is the difference between docker stop and kill?&lt;/strong&gt;Docker stop: stop a running container 
Docker kill: kills a running container.

&lt;strong&gt;What is the difference between docker exec and attach?&lt;/strong&gt;Docker exec: will enter into the container and start interacting.
by using &#062;&#062; docker exec -it NAME /bin/bash
Docker attach: it will directly take us to PID 1 of the container, we use this for troubleshooting  
by using docker attach NAME
&lt;strong&gt;List of docker file instructions and its Brief Summary?&lt;/strong&gt;FROM: create a base image like httpd , ubuntu.
RUN: to build the container 
MAINTAINER: creator of images.
ENV: an environment for image 
COPY: copy the file to images
 &lt;strong&gt;What is the difference between CMD vs Entrypoint&lt;/strong&gt;ENTRYPOINT: act as an entry point to the container.
CMD: we use to set the commend it will execute while running the container.]]></description>
			<content:encoded><![CDATA[<p><strong> Components of Docker and its Brief Summary</strong>1  Docker client: it is used to communicate with the docker server (dockerd)<br />
2 Docker server: it contains dockerd and container<br />
Docker image: the docker templet which contains info of the docker container.<br />
Docker registry&nbsp;: library of images .<br />
Docker container: the full package which we required to run an application .</p>
<p><strong>What is the difference between docker pause and unpause?</strong><span>pause: to stop the process running inside containers.</span><br />
<span>unpause- to resume the paused process inside containers.</span></p>
<p><strong>What is the difference between docker stop and kill?</strong>Docker stop: stop a running container<br />
Docker kill: kills a running container.</p>
<p><strong>What is the difference between docker exec and attach?</strong>Docker exec: will enter into the container and start interacting.<br />
by using &gt;&gt; docker exec -it NAME /bin/bash<br />
Docker attach: it will directly take us to PID 1 of the container, we use this for troubleshooting<br />
by using docker attach NAME<br />
<strong>List of docker file instructions and its Brief Summary?</strong>FROM: create a base image like httpd , ubuntu.<br />
RUN: to build the container<br />
MAINTAINER: creator of images.<br />
ENV: an environment for image<br />
COPY: copy the file to images<br />
 <strong>What is the difference between CMD vs Entrypoint</strong>ENTRYPOINT: act as an entry point to the container.<br />
CMD: we use to set the commend it will execute while running the container.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ibrahim Jalloh		</title>
		<link>https://www.bestdevops.com/docker-assignment-for-interview-preparations/#comment-173</link>

		<dc:creator><![CDATA[Ibrahim Jalloh]]></dc:creator>
		<pubDate>Fri, 08 Jul 2022 17:19:09 +0000</pubDate>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24933#comment-173</guid>

					<description><![CDATA[1. Docker works via a Docker engine that is composed of two key elements: a server and a client; and the communication between the two is via REST API.&#160;
The server communicates the instructions to the client.

2. What is the difference between docker pause and docker unpause? Docker pause suspends all the process to container.&#160;
Docker unpause will un-suspend all the process to container.

3. docker stop: Stop a running container (send SIGTERM, and then SIGKILL after grace period) The main process inside...
&#160;&#160;docker kill: Kill a running container (send SIGKILL, or specified signal) The main process inside the container...

4. Both docker exec and attach are used to connect or access the container but only difference is that docker exec creates a&#160;
differrent process to access the container whereas docker attach connects to the same standard input/out or the same terminal.

5. There are a variety of Dockerfile instructions we can put in our Dockerfile. These include FROM, RUN, WORKDIR, COPY, ADD, VOLUME, CMD, ENTRYPOINT, WORKDIR, USER, ONBUILD, LABEL, ARG, SHELL, HEALTHCHECK, EXPOSE and ENV.&#160;
You can see a full list of the available Dockerfile instructions here.

6. ENTRYPOINT should be defined when using the container as an executable. CMD should be used as a way of defining default arguments for an ENTRYPOINT command or for executing an ad-hoc command in a container.&#160;
CMD will be overridden when running the container with alternative arguments.]]></description>
			<content:encoded><![CDATA[<p>1. Docker works via a Docker engine that is composed of two key elements: a server and a client; and the communication between the two is via REST API.&nbsp;<br />
The server communicates the instructions to the client.</p>
<p>2. What is the difference between docker pause and docker unpause? Docker pause suspends all the process to container.&nbsp;<br />
Docker unpause will un-suspend all the process to container.</p>
<p>3. docker stop: Stop a running container (send SIGTERM, and then SIGKILL after grace period) The main process inside&#8230;<br />
&nbsp;&nbsp;docker kill: Kill a running container (send SIGKILL, or specified signal) The main process inside the container&#8230;</p>
<p>4. Both docker exec and attach are used to connect or access the container but only difference is that docker exec creates a&nbsp;<br />
differrent process to access the container whereas docker attach connects to the same standard input/out or the same terminal.</p>
<p>5. There are a variety of Dockerfile instructions we can put in our Dockerfile. These include FROM, RUN, WORKDIR, COPY, ADD, VOLUME, CMD, ENTRYPOINT, WORKDIR, USER, ONBUILD, LABEL, ARG, SHELL, HEALTHCHECK, EXPOSE and ENV.&nbsp;<br />
You can see a full list of the available Dockerfile instructions here.</p>
<p>6. ENTRYPOINT should be defined when using the container as an executable. CMD should be used as a way of defining default arguments for an ENTRYPOINT command or for executing an ad-hoc command in a container.&nbsp;<br />
CMD will be overridden when running the container with alternative arguments.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
