<?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>fedora31 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/fedora31/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 07 May 2021 16:49:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install Docker on Fedora 34/33?</title>
		<link>https://www.osradar.com/install-docker-fedora-33/</link>
					<comments>https://www.osradar.com/install-docker-fedora-33/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 09 May 2021 23:11:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[container]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[fedora31]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Virtualization]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15595</guid>

					<description><![CDATA[<p>If there is a system that is characterized by the incorporation of new features is Fedora Linux. This is because it wants to be a modern, safe and leading distribution in the collaboration of projects. This philosophy fits quite well with Docker because it is a powerful technology, innovative and above all useful for the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-docker-fedora-33/">How to install Docker on Fedora 34/33?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>If there is a system that is characterized by the incorporation of new features is Fedora Linux. This is because it wants to be a modern, safe and leading distribution in the collaboration of projects. This philosophy fits quite well with Docker because it is a powerful technology, innovative and above all useful for the administration of servers. So, in this context, <strong>this article will help you install Docker in Fedora 34/33.</strong></p>



<p><a rel="noreferrer noopener" aria-label="Docker (opens in a new tab)" href="https://www.docker.com/" target="_blank">Docker</a> is a recent technology that allows the deployment of applications and programs in the form of containers. That is, as a kind of virtual machine but contained only for that application. In this blog, we have taught you how to install some applications using this methodology.</p>



<ul><li><a rel="noreferrer noopener" aria-label="Deploy PHPMyAdmin using Docker Compose (opens in a new tab)" href="https://www.osradar.com/deploy-phpmyadmin-using-docker-compose/" target="_blank">Deploy PHPMyAdmin using Docker Compose</a></li><li><a rel="noreferrer noopener" aria-label="Nextcloud using Docker compose (opens in a new tab)" href="https://www.osradar.com/nextcloud-docker-compose/" target="_blank">Nextcloud using Docker compose</a></li><li><a rel="noreferrer noopener" aria-label="How to deploy Jenkins using docker-compose? (opens in a new tab)" href="https://www.osradar.com/deploy-jenkins-using-docker-compose/" target="_blank">How to deploy Jenkins using docker-compose?</a></li><li><a rel="noreferrer noopener" aria-label="Deploy MongoDB using Docker Compose (opens in a new tab)" href="https://www.osradar.com/deploy-mongodb-using-docker-compose/" target="_blank">Deploy MongoDB using Docker Compose</a></li></ul>



<p>This is a great advantage at the time of deployment because we do not care about the dependencies they may have. On the other hand, Docker is very secure and by default isolates network processes and data between host and container. It is widely used among sysadmin and even developers.</p>



<h2>Install Docker on Fedora 34/33?</h2>



<p>Fedora 34 being so new, <strong>uses cgroups v2 by default and this is a problem with Docker </strong>because it doesn&#8217;t implement it yet. Then, to the steps that are indicated in the official documentation of Docker, it is necessary to add some new steps. Let&#8217;s go for it:</p>



<p>First let&#8217;s install Docker normally, for it opens a terminal session and executes the following command:</p>



<pre class="wp-block-preformatted">$ sudo dnf config-manager --add--repo https://download.docker.com/linux/fedora/docker-ce.repo </pre>



<p>Then, once the Docker repository is configured, we proceed to install it with the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo dnf install docker-ce</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="526" src="https://www.osradar.com/wp-content/uploads/2021/03/Screenshot-from-2021-05-07-12-43-45-1024x526.png" alt="1.- Installing Docker on Fedora 34/33" class="wp-image-29957" srcset="https://www.osradar.com/wp-content/uploads/2021/03/Screenshot-from-2021-05-07-12-43-45-1024x526.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/Screenshot-from-2021-05-07-12-43-45-300x154.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/Screenshot-from-2021-05-07-12-43-45-768x395.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/Screenshot-from-2021-05-07-12-43-45-696x358.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/Screenshot-from-2021-05-07-12-43-45-1068x549.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/Screenshot-from-2021-05-07-12-43-45.png 1358w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Installing Docker on Fedora 34/33</figcaption></figure>



<p>When the installation is complete, Docker will be installed. </p>



<p>You can configure Docker to run without root permissions. To do this, run the following commands:</p>



<pre class="wp-block-preformatted">:~$ sudo groupadd docker :$ sudo groupadd docker<br>:~$ sudo usermod -aG docker $USER</pre>



<p>We will now make some changes to Fedora&#8217;s grub to adapt the system to Docker. </p>



<p>Edit the default grub configuration file:</p>



<pre class="wp-block-preformatted">:~$ sudo gedit /etc/default/grub</pre>



<p>And in the line that starts with &#8220;<code>GRUB_CMDLINE_LINUX</code>&#8220;, the following parameter must be added: <code>system.unified_cgroup_hierarchy=0</code>.</p>



<p>Then save the changes and close the file. </p>



<p>To apply the changes you have to update the grub with the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo grub2-mkconfig </pre>



<p>And finally, reboot the system.</p>



<p>When you start the system again, you can start and use docker. To start the service, just use the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo systemctl start docker</pre>



<p> And if you want it to start along with the system, add this other command:</p>



<pre class="wp-block-preformatted">:~$ sudo systemctl enable docker</pre>



<p>And now, you can use Docker on Fedora 34/33.</p>



<h2>Conclusion</h2>



<p>Fedora is an excellent and innovative system, but sometimes being at the forefront means some inconvenience when installing certain programs. That is why for Docker to work perfectly, you have to take some extra steps. And you have learned that today.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-docker-fedora-33/">How to install Docker on Fedora 34/33?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-docker-fedora-33/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
	</channel>
</rss>
