<?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>Sai Prudhvi Navana &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/author/sai-prudhvi-navana/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>Tue, 30 Aug 2022 10:55:47 +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>7. List of 20 docker commands and its use cases with example?</title>
		<link>https://www.bestdevops.com/7-list-of-20-docker-commands-and-its-use-cases-with-example/</link>
					<comments>https://www.bestdevops.com/7-list-of-20-docker-commands-and-its-use-cases-with-example/#respond</comments>
		
		<dc:creator><![CDATA[Sai Prudhvi Navana]]></dc:creator>
		<pubDate>Tue, 30 Aug 2022 10:55:45 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=27033</guid>

					<description><![CDATA[Docker psThis command is used to list all the running containers in the background. Docker ps -aThis command is used [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Docker ps<br>This command is used to list all the running containers in the background.</p>



<p class="wp-block-paragraph">Docker ps -a<br>This command is used to know the details of all the running, stopped, or exited containers.</p>



<p class="wp-block-paragraph">Docker version<br>We usually start by finding the installed version of docker that we are working on.</p>



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



<p class="wp-block-paragraph">Docker run<br>This command is used to create a container from an image.</p>



<p class="wp-block-paragraph">Docker stop<br>The ‘docker stop’ command stops a container using the container name or its id.</p>



<p class="wp-block-paragraph">Docker restart<br>This command is used to restart the stopped container. It is recommended to use this after rebooting the system.</p>



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



<p class="wp-block-paragraph">Docker network<br>The ‘docker network’ command is used to know the details of the list of networks in the cluster.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/7-list-of-20-docker-commands-and-its-use-cases-with-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>6. What is the difference between CMD vs Entrypoint</title>
		<link>https://www.bestdevops.com/6-what-is-the-difference-between-cmd-vs-entrypoint/</link>
					<comments>https://www.bestdevops.com/6-what-is-the-difference-between-cmd-vs-entrypoint/#respond</comments>
		
		<dc:creator><![CDATA[Sai Prudhvi Navana]]></dc:creator>
		<pubDate>Tue, 30 Aug 2022 10:49:40 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=27030</guid>

					<description><![CDATA[CMD InstructionYou can set default commands with parameters using the CMD instruction. If you run a Docker container without specifying [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>CMD Instruction</strong><br>You can set default commands with parameters using the CMD instruction. If you run a Docker container without specifying any additional CLI commands, the CMD instruction will be executed. You can include an executable as the default command. However, if you choose to omit it, you will have to specify an ENTRYPOINT instruction along with the CMD instruction</p>



<p class="wp-block-paragraph">If you have specified an argument along with the Docker run command, the default one specified using the CMD instruction will be ignored. Also, if you have specified multiple CMD instructions inside a single dockerfile, the one specified at the last will only be executed.</p>



<p class="wp-block-paragraph">The CMD instruction has three forms &#8211;</p>



<p class="wp-block-paragraph">CMD [&#8220;only_executable&#8221;,&#8221;parameter_1&#8243;,&#8221;parameter_1&#8243;] (executable form)<br>CMD [&#8220;parameter_1&#8243;,&#8221;parameter_2&#8221;] (used to provide default parameters to the ENTRYPOINT instruction)<br>CMD command param1 param2 (It is the shell form)<br>Example &#8211;<br>$ CMD echo &#8220;Command in Shell Form&#8221;<br>$ CMD [&#8220;/bin/bash&#8221;, &#8220;-c&#8221;, &#8220;echo Command in Exec Form&#8221;]</p>



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



<p class="wp-block-paragraph"><strong>ENTRYPOINT Instruction</strong><br>The ENTRYPOINT instruction looks almost similar to the CMD instruction. However, the main highlighting difference between them is that it will not ignore any of the parameters that you have specified in the Docker run command (CLI parameters).</p>



<p class="wp-block-paragraph">When we have specified the ENTRYPOINT instruction in the executable form, it allows us to set or define some additional arguments/parameters using the CMD instruction in Dockerfile. If we have used it in the shell form, it will ignore any of the CMD parameters or even any CLI arguments.</p>



<p class="wp-block-paragraph">The forms of the ENTRYPOINT Instruction are &#8211;</p>



<p class="wp-block-paragraph">ENTRYPOINT [&#8220;only_executable&#8221;, &#8220;parameter_1&#8221;, &#8220;parameter_2&#8221;] (executable form)<br>ENTRYPOINT command parameter_1 parameter_2 (Shell form)<br>Example &#8211;<br>$ ENTRYPOINT echo &#8220;Welcome to Devops&#8221;<br>$ ENTRYPOINT [&#8220;/bin/bash&#8221;, &#8220;-c&#8221;, &#8220;echo Welcome to Devops&#8221;]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/6-what-is-the-difference-between-cmd-vs-entrypoint/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>5. List of dockerfile instructions and its Brief Summary?</title>
		<link>https://www.bestdevops.com/5-list-of-dockerfile-instructions-and-its-brief-summary/</link>
					<comments>https://www.bestdevops.com/5-list-of-dockerfile-instructions-and-its-brief-summary/#respond</comments>
		
		<dc:creator><![CDATA[Sai Prudhvi Navana]]></dc:creator>
		<pubDate>Tue, 30 Aug 2022 10:46:18 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=27027</guid>

					<description><![CDATA[FROM: Create a basic image like httpd. RUN: It is to build the container MAINTAINER: Creates the images. ENV: Environment [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">FROM: Create a basic image like httpd.</p>



<p class="wp-block-paragraph">RUN: It is to build the container</p>



<p class="wp-block-paragraph">MAINTAINER: Creates the images.</p>



<p class="wp-block-paragraph">ENV: Environment for image.</p>



<p class="wp-block-paragraph">COPY: Copies the file to images.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/5-list-of-dockerfile-instructions-and-its-brief-summary/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>4. What is the difference between docker exec and attach?</title>
		<link>https://www.bestdevops.com/4-what-is-the-difference-between-docker-exec-and-attach/</link>
					<comments>https://www.bestdevops.com/4-what-is-the-difference-between-docker-exec-and-attach/#respond</comments>
		
		<dc:creator><![CDATA[Sai Prudhvi Navana]]></dc:creator>
		<pubDate>Tue, 30 Aug 2022 10:44:28 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=27025</guid>

					<description><![CDATA[Docker attachThis command to attach your terminal’s standard input, output, and error (or any combination of the three) to a [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Docker attach<br>This command to attach your terminal’s standard input, output, and error (or any combination of the three) to a running container using the container’s ID or name. attach the running container with the following command. you need to press enter once execute the below command, docker is waiting for your input.</p>



<p class="wp-block-paragraph">docker attach nodeapi</p>



<p class="wp-block-paragraph">once attached, you can do all the cli commands like you can check the node version, run the bundle file, exit etc..</p>



<p class="wp-block-paragraph">But the problem here once you exit out of this, your container is no logger in the up status. your container is also in exit status.</p>



<p class="wp-block-paragraph">Docker exec<br>The docker exec command runs a new command in a running container. execute the below command after restarting container nodeapi in the above command.</p>



<p class="wp-block-paragraph">// start the container<br>docker start nodeapi<br>// execute the exec command<br>docker exec -it nodeapi bash</p>



<p class="wp-block-paragraph">you can exit now and if you list the containers now we can see container is still running.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/4-what-is-the-difference-between-docker-exec-and-attach/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>3. What is the difference between docker stop and kill?</title>
		<link>https://www.bestdevops.com/3-what-is-the-difference-between-docker-stop-and-kill/</link>
					<comments>https://www.bestdevops.com/3-what-is-the-difference-between-docker-stop-and-kill/#respond</comments>
		
		<dc:creator><![CDATA[Sai Prudhvi Navana]]></dc:creator>
		<pubDate>Tue, 30 Aug 2022 10:39:55 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=27023</guid>

					<description><![CDATA[docker stop attempts to gracefully shutdown container(s) while docker kill (by default) immediately stops/terminates them; docker stop issues a SIGTERM [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">docker stop attempts to gracefully shutdown container(s) while docker kill (by default) immediately stops/terminates them;</p>



<p class="wp-block-paragraph">docker stop issues a SIGTERM signal to the main process inside the container</p>



<p class="wp-block-paragraph">docker kill (by default) issues a SIGKILL signal.</p>



<p class="wp-block-paragraph">With docker kill, you may specify to send a different signal (to the main process inside the container) than the default SIGKILL signal, using the &#8211;signal flag. Same thing is not possible with the docker stop command.</p>



<p class="wp-block-paragraph">With docker stop, the container(s) must comply to the shutdown request within a (configurable) grace period (which defaults to 10 seconds), after which it forcibly tries to kill the container. docker kill does not have any such timeout period.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/3-what-is-the-difference-between-docker-stop-and-kill/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>2. What is the difference between docker pause and unpause?</title>
		<link>https://www.bestdevops.com/2-what-is-the-difference-between-docker-pause-and-unpause/</link>
					<comments>https://www.bestdevops.com/2-what-is-the-difference-between-docker-pause-and-unpause/#respond</comments>
		
		<dc:creator><![CDATA[Sai Prudhvi Navana]]></dc:creator>
		<pubDate>Tue, 30 Aug 2022 10:35:43 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=27020</guid>

					<description><![CDATA[Docker Pause: It will suspends all processes in the specified containers. It means that the processes in the container stop [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Docker Pause:</p>



<p class="wp-block-paragraph">It will suspends all processes in the specified containers. It means that the processes in the container stop running, and they are be able to resumed later.</p>



<p class="wp-block-paragraph">docker pause [container id or name]</p>



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



<p class="wp-block-paragraph">It will resumes all the processes in the specified container. It means recovery container all processes.</p>



<p class="wp-block-paragraph">docker unpause [container id or name]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/2-what-is-the-difference-between-docker-pause-and-unpause/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Components of Docker and its Brief Summary</title>
		<link>https://www.bestdevops.com/components-of-docker-and-its-brief-summary-6/</link>
					<comments>https://www.bestdevops.com/components-of-docker-and-its-brief-summary-6/#respond</comments>
		
		<dc:creator><![CDATA[Sai Prudhvi Navana]]></dc:creator>
		<pubDate>Tue, 30 Aug 2022 10:31:24 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=27018</guid>

					<description><![CDATA[Docker Client: The first component of Docker is the client, which allows the users to communicate with Docker. Being a [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Docker Client: The first component of Docker is the client, which allows the users to communicate with Docker. Being a client-server architecture, Docker can connect to the host remotely and locally. As this component is the foremost way of interacting with Docker, it is part of the basic components. Whenever a user gives a command to Docker, this component sends the desired command to the host, which further fulfils the command using the Docker API.</p>



<p class="wp-block-paragraph">Docker Image: Docker images are used to build containers and hold the entire metadata that elaborates the capabilities of the container. These images are read-only binary templates in YAML. Every image comes with numerous layers, and every layer depends on the layer below it. The first layer is called the base layer, which contains the base operating system and image. The layer with dependencies will come above this base layer. These layers will have all the necessary instructions in read-only, which will be the Dockerfile.</p>



<p class="wp-block-paragraph">Docker Daemon: Docker Daemon is among the most essential components of Docker as it is directly responsible for fulfilling the actions related to containers. It mainly runs as a background process that manages parts like Docker networks, storage volumes, containers, and images. Whenever a container start up command is given through docker run, the client translates that command into an HTTP API call and returns it to the daemon. Afterwards, the daemon analyses the requests and communicates with the operating system. The Docker daemon will only respond to the Docker API requests to perform the tasks.</p>



<p class="wp-block-paragraph">Docker Registry: Docker images require a location where they can be stored and the Docker registry is that location. Docker Hub is the default storage location of images that stores the public registry. However, registries can either be private or public. Every time a Docker pull request is made, the image is pulled from the desired Docker registry where it was the same.</p>



<p class="wp-block-paragraph">Docker Container: A Docker container is the instance of an image that can be created, started, moved, or deleted through a Docker API. Containers are a lightweight and independent method of running applications. They can be connected to one or more networks and create a new image depending on the current state. Being a volatile Docker component, any application or data located within the container will be scrapped the moment the container is deleted or removed.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/components-of-docker-and-its-brief-summary-6/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
