<?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>DEV Community: Bryerstone Apps</title>
    <description>The latest articles on DEV Community by Bryerstone Apps (@mrstardom).</description>
    <link>https://dev.to/mrstardom</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F584381%2F042f30e9-4699-4770-89ec-c3c03d210e08.jpg</url>
      <title>DEV Community: Bryerstone Apps</title>
      <link>https://dev.to/mrstardom</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mrstardom"/>
    <language>en</language>
    <item>
      <title>How to Run Podman on Windows Subsystem for Linux (WSL2) Ubuntu 20.04</title>
      <dc:creator>Bryerstone Apps</dc:creator>
      <pubDate>Mon, 22 Feb 2021 23:21:55 +0000</pubDate>
      <link>https://dev.to/mrstardom/how-to-run-podman-on-windows-subsystem-for-linux-wsl2-ubuntu-20-04-4l02</link>
      <guid>https://dev.to/mrstardom/how-to-run-podman-on-windows-subsystem-for-linux-wsl2-ubuntu-20-04-4l02</guid>
      <description>&lt;p&gt;Visit &lt;a href="https://podman.io"&gt;https://podman.io&lt;/a&gt;&lt;br&gt;
Click on “Get Started”&lt;br&gt;
Scroll Down until you see "Installing Podman" &lt;br&gt;
Click on "Installation Instructions" &lt;br&gt;
Scroll down until you see Windows Subsystems for Linux (WSL) 2.0; Click on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  How to run Podman on Windows with WSL2&lt;/li&gt;
&lt;li&gt;  Here is the link: &lt;a href="https://www.redhat.com/sysadmin/podman-windows-wsl2"&gt;https://www.redhat.com/sysadmin/podman-windows-wsl2&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Below where you see: “Add the Podman PPA and Install Podman”, copy and paste the entire code/command into your Ubuntu terminal. The code/command is below if you want to get it from this post:&lt;/p&gt;

&lt;p&gt;. /etc/os-release&lt;br&gt;
sudo sh -c "echo 'deb &lt;a href="http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/x%24%7BNAME%7D_%24%7BVERSION_ID%7D/"&gt;http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/x${NAME}_${VERSION_ID}/&lt;/a&gt; /' &amp;gt; /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"&lt;br&gt;
wget -nv &lt;a href="https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x%24%7BNAME%7D_%24%7BVERSION_ID%7D/Release.key"&gt;https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x${NAME}_${VERSION_ID}/Release.key&lt;/a&gt; -O Release.key&lt;br&gt;
sudo apt-key add - &amp;lt; Release.key&lt;br&gt;
sudo apt-get update -qq&lt;br&gt;
sudo apt-get -qq -y install podman&lt;br&gt;
sudo mkdir -p /etc/containers&lt;br&gt;
echo -e "[registries.search]\nregistries = ['docker.io', 'quay.io']" | sudo tee /etc/containers/registries.conf&lt;/p&gt;

&lt;p&gt;Use the youtube link below to help you configure your /usr/share/containers.conf file&lt;/p&gt;

&lt;p&gt;Youtube Link: &lt;a href="https://youtu.be/iOxILJIYsuY"&gt;https://youtu.be/iOxILJIYsuY&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You should follow the information first before you watch the video. You should only watch the video to gain a better understanding of how things work. The codes or commands in this post is more recent and updated as compared to the video.&lt;br&gt;
The video will show you how to access your /usr/share/containers/containers.conf file&lt;/p&gt;

&lt;p&gt;You must first uncomment and configure the cgroup_manager line from "systemd" to "cgroupfs"&lt;br&gt;
After you do that, then uncomment: events_logger = "journald" and replace "journald" with the word "file"&lt;br&gt;
So, when you are done, it will look like this: events_logger = "file"&lt;/p&gt;

&lt;p&gt;Save and exit the file using your favorite text editor. You can use the nano editor if you’d like.&lt;br&gt;
Like so: cd /usr/share/containers&lt;br&gt;
Sudo nano containers.conf&lt;/p&gt;

&lt;p&gt;You can use the Visual Studio Code editor instead of the built-in Ubuntu nano text editor if you had already link the Visual Studio Code editor to your Remote WSL2 Ubuntu 20.04 distro you downloaded from the Microsoft Store.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>windows</category>
      <category>podman</category>
      <category>ubuntu</category>
    </item>
  </channel>
</rss>
