<?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>mode Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/mode/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/mode/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:49:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How to run chef-client in why-run mode aka “no-operation”</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-run-chef-client-in-why-run-mode-aka-no-operation/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-run-chef-client-in-why-run-mode-aka-no-operation/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 02 May 2018 09:36:20 +0000</pubDate>
				<category><![CDATA[Chef]]></category>
		<category><![CDATA[Chef Client]]></category>
		<category><![CDATA[mode]]></category>
		<category><![CDATA[why-run]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4934</guid>

					<description><![CDATA[<p>why-run mode is a way to see what the chef-client would have configured, had an actual chef-client run occurred. This [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-run-chef-client-in-why-run-mode-aka-no-operation/">How to run chef-client in why-run mode aka “no-operation”</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-5017" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/chef-client.jpg" alt="" width="600" height="350" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/chef-client.jpg 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/chef-client-300x175.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>why-run mode is a way to see what the chef-client would have configured, had an actual chef-client run occurred. This approach is similar to the concept of “no-operation” (or “no-op”): decide what should be done, but then don’t actually do anything until it’s done right. Run the executable in why-run mode, which is a type of chef-client run that does everything except modify the system.</p>
<p>When why-run mode is enabled, a chef-client run will occur that does everything up to the point at which configuration would normally occur. This includes</p>
<ol>
<li>Getting the configuration data,</li>
<li>Authenticating to the Chef server,</li>
<li>Rebuilding the node object,</li>
<li>Expanding the run-list,</li>
<li>Getting the necessary cookbook files,</li>
<li>Resetting node attributes,</li>
<li>Identifying the resources, and</li>
<li>Building the resource collection and</li>
<li>Does not include mapping each resource to a provider or configuring any part of the system.</li>
</ol>
<p><strong>How to run chef-client?</strong></p>
<pre class="brush: plain; title: ; notranslate">$ sudo chef-client -o 'recipe&#x5B;ntp]' --why-run
$ sudo chef-client -o 'recipe&#x5B;ntp]' -W</pre>
<p><a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/chef-why-run-mode-chef-client.png"><img decoding="async" class="aligncenter size-full wp-image-4935" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/chef-why-run-mode-chef-client.png" alt="" width="1029" height="569" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/chef-why-run-mode-chef-client.png 1029w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/chef-why-run-mode-chef-client-300x166.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/chef-why-run-mode-chef-client-768x425.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/05/chef-why-run-mode-chef-client-1024x566.png 1024w" sizes="(max-width: 1029px) 100vw, 1029px" /></a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-run-chef-client-in-why-run-mode-aka-no-operation/">How to run chef-client in why-run mode aka “no-operation”</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-run-chef-client-in-why-run-mode-aka-no-operation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Quiet mode</title>
		<link>https://www.scmgalaxy.com/tutorials/quiet-mode/</link>
					<comments>https://www.scmgalaxy.com/tutorials/quiet-mode/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 04 Dec 2017 06:57:35 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[mode]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1315</guid>

					<description><![CDATA[<p>installanywhereExpert created the topic: Quiet mode I get a issue when using quiet mode, the problem is: I&#8217;m always prompted [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/quiet-mode/">Quiet mode</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>installanywhereExpert created the topic: Quiet mode</strong><br />
I get a issue when using quiet mode, the problem is:<br />
  I&#8217;m always prompted to select a language when installing&#8221;myapp.exe /quiet&#8221; if destination computer&#8217;s language is not one of the languages myapp.exe supported.<br />
Is there any way to DON‘T show this language selection window and make the whole installation real quiet? thanks in advance!</p>
<p><strong>applicationPackaging replied the topic: Re: Quiet mode</strong><br />
&#8220;myapp.exe /?&#8221; also prompt the language selection window, so seems windows installer detect current OS language whether is supported by myapp.exe first, then process /quiet option.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/quiet-mode/">Quiet mode</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/quiet-mode/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to get bash or ssh into a running container in background mode?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-get-bash-or-ssh-into-a-running-container-in-background-mode/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-get-bash-or-ssh-into-a-running-container-in-background-mode/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 23 Feb 2016 11:51:34 +0000</pubDate>
				<category><![CDATA[CONTAINERS]]></category>
		<category><![CDATA[Background]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Container]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[mode]]></category>
		<category><![CDATA[Running container]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[SSH into a Container]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/02/23/how-to-get-bash-or-ssh-into-a-running-container-in-background-mode/</guid>

					<description><![CDATA[<p>How to get bash or ssh into a running container in background mode? Step 1: First of all, try to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-get-bash-or-ssh-into-a-running-container-in-background-mode/">How to get bash or ssh into a running container in background mode?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img decoding="async" class="wp-image-3196 size-full aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/02/bash-or-ssh-into-a-running-1-1.png" alt="bash-or-ssh-into-a-running-container" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/02/bash-or-ssh-into-a-running-1-1.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/02/bash-or-ssh-into-a-running-1-1-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></div>
<div><strong>How to get bash or ssh into a running container in background mode?</strong></div>
<div></div>
<div><strong>Step 1: First of all, try to find your active container by running</strong></div>
<div># docker ps</div>
<div>or</div>
<div># docker ps -a</div>
<div></div>
<div><strong>Step 2: If the container is not running,</strong></div>
<div># docker start your_id</div>
<div></div>
<div><strong>Step 3: If we use attach we can use only one instance of shell.</strong></div>
<div># sudo docker attach 665b4a1e17b6 #by ID</div>
<div>or</div>
<div># sudo docker attach loving_heisenberg #by Name</div>
<div></div>
<div>If we want open new terminal with new instance of container&#8217;s shell, we just need run the following:</div>
<div># sudo docker exec -i -t 2e56ad1705b1 /bin/bash #by ID</div>
<div>or</div>
<div># sudo docker exec -i -t loving_heisenberg /bin/bash #by Name</div>
<div># root@665b4a1e17b6:/#</div>
<div></div>
<div><strong>Step 4: To exit bash without leaving bash running in a rogue process</strong></div>
<div># exit</div>
<div></div>
<div><strong>Notes:</strong></div>
<div>A reminder for boot2docker users: remove sudo</div>
<div>If you are using docker in Linux, you will have to use sudo along with docker commands.</div>
<div>You should try not to run commands as sudo, rather add your user to the docker group and just run normally.</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-get-bash-or-ssh-into-a-running-container-in-background-mode/">How to get bash or ssh into a running container in background mode?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-get-bash-or-ssh-into-a-running-container-in-background-mode/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
