<?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>installing podman Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/installing-podman/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 02 Jan 2020 22:22:27 +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 Podman on Debian on 10 / 9</title>
		<link>https://www.osradar.com/how-to-install-podman-on-debian-on-10-9/</link>
					<comments>https://www.osradar.com/how-to-install-podman-on-debian-on-10-9/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Thu, 02 Jan 2020 03:37:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[debian installation with podman]]></category>
		<category><![CDATA[how to install podman on debian 10]]></category>
		<category><![CDATA[installing podman]]></category>
		<category><![CDATA[podman]]></category>
		<category><![CDATA[Podman installation]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16914</guid>

					<description><![CDATA[<p>Introduction: Podman is used to develop, manage and run OCI Containers on our Linux System. It runs without starting daemon every time. In today tutorial, we will cover the installation of Podman on our Debian System. Step 1: Updating your system Update your system by running sudo apt -y update &#38;&#38; sudo apt -y upgrade [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-podman-on-debian-on-10-9/">How To Install Podman on Debian on 10 / 9</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2><strong>Introduction:</strong></h2>



<p>Podman is used to develop, manage and run OCI Containers on our Linux System. It runs without starting daemon every time.  In today tutorial, we will cover the installation of Podman on our Debian System.</p>



<h3><strong>Step 1: Updating your system</strong></h3>



<p>Update your system by running </p>



<pre class="wp-block-verse">sudo apt -y update &amp;&amp; sudo apt -y upgrade</pre>



<h3><strong>Step 2: Installing pre-requisites</strong></h3>



<p>In our case we are going to build the packages from source code. Install the required dependencies you want to use</p>



<pre class="wp-block-verse">sudo apt -y install \<br>
gcc \<br>
  make \<br>
  cmake \<br>
  git \<br>
  btrfs-progs \<br>
  golang-go \<br>
  go-md2man \<br>
  iptables \<br>
  libassuan-dev \<br>
  libc6-dev \<br>
  libdevmapper-dev \<br>
  libglib2.0-dev \<br>
  libgpgme-dev \<br>
  libgpg-error-dev \<br>
  libostree-dev \<br>
  libprotobuf-dev \<br>
  libprotobuf-c-dev \<br>
  libseccomp-dev \<br>
  libselinux1-dev \<br>
  libsystemd-dev \<br>
  pkg-config \<br>
  runc \<br>
  uidmap \<br>
  libapparmor-dev</pre>



<h3><strong>Step 3: Installing common</strong></h3>



<p><strong>Common</strong> is used to monitor OCI run times on your Linux System. Install the latest version of common on Debian by cloning.</p>



<pre class="wp-block-verse">git clone https://github.com/containers/common<br>cd common<br>sudo make podman<br>sudo cp /usr/local/libexec/podman/common /usr/local/bin/</pre>



<h3><strong>Step 4: Installing CNI Plugins</strong></h3>



<p>Make sure that the CNI Plugins are installed on your system. If they are not installed yet, Install them by typing</p>



<pre class="wp-block-verse">git clone https://github.com/containernetworking/plugins.git $GOPATH/src/github.com/containernetworking/plugins<br>cd $GOPATH/src/github.com/containernetworking/plugins<br>./build_linux.sh<br>sudo mkdir -p /usr/libexec/cni<br>sudo cp bin/* /usr/libexec/cni</pre>



<h3><strong>Step 5: Setting Up CNI Networking</strong></h3>



<p>Now, add the configuration files by </p>



<pre class="wp-block-verse">sudo mkdir -p /etc/cni/net.d<br>curl -qsSL https://raw.githubusercontent.com/containers/libpod/master/cni/87-podman-bridge.conflist | sudo tee /etc/cni/net.d/99-loopback.conf</pre>



<h3><strong>Step 6: Populate Config files</strong></h3>



<p>You have to manually add configuration files like registry and policy files.</p>



<pre class="wp-block-verse">sudo mkdir -p /etc/containers<br>sudo curl https://raw.githubusercontent.com/projectatomic/registries/master/registries.fedora -o /etc/containers/registries.conf<br>sudo curl https://raw.githubusercontent.com/containers/skopeo/master/default-policy.json -o /etc/containers/policy.json</pre>



<h3><strong>Step 7: Installing Podman</strong></h3>



<p>After doing all the above requirements, its time to download and Install Podman on your system. </p>



<pre class="wp-block-verse">git clone https://github.com/containers/libpod/ $GOPATH/src/github.com/containers/libpod<br>cd $GOPATH/src/github.com/containers/libpod<br>make<br>sudo make install</pre>



<p>You can run the command podman version to check the installed version of podman</p>



<pre class="wp-block-verse">$ podman info<br> host:<br>   BuildahVersion: 1.9.2<br>   Conmon:<br>     package: Unknown<br>     path: /usr/local/bin/conmon<br>     version: 'conmon version 1.0.1-dev, commit: 8392df88fba944510b51c7d5b92aa745a15863f8'<br>   Distribution:<br>     distribution: debian<br>     version: "10"<br>   MemFree: 6179495936<br>   MemTotal: 8167223296<br>   OCIRuntime:<br>     package: 'runc: /usr/sbin/runc'<br>     path: /usr/sbin/runc<br>     version: |-<br>       runc version 1.0.0~rc6+dfsg1<br>       commit: 1.0.0~rc6+dfsg1-3<br>       spec: 1.0.1<br>   SwapFree: 0<br>   SwapTotal: 0<br>   arch: amd64<br>   cpus: 2<br>   eventlogger: journald<br>   hostname: debian10<br>   kernel: 4.19.0-5-amd64<br>   os: linux<br>   rootless: false<br>   uptime: 13m 44.64s<br> registries:<br>   blocked: null<br>   insecure: null<br>   search:<br> docker.io<br> registry.fedoraproject.org<br> registry.access.redhat.com<br> store:<br> ConfigFile: /etc/containers/storage.conf<br> ContainerStore:<br> number: 0<br> GraphDriverName: overlay<br> GraphOptions: null<br> GraphRoot: /var/lib/containers/storage<br> GraphStatus:<br> Backing Filesystem: extfs<br> Native Overlay Diff: "true"<br> Supports d_type: "true"<br> Using metacopy: "false"<br> ImageStore:<br> number: 0<br> RunRoot: /var/run/containers/storage<br> VolumePath: /var/lib/containers/storage/volumes </pre>



<p>Here are the main configuration files.</p>



<ul><li><strong>/etc/containers/regestries.conf</strong> : We use this file to store the  registries of domain or new container images.</li><li> <strong>/etc/containers/mounts.conf</strong>: Keeps the record of mounted directories.</li></ul>



<h3><strong>Step 8: Testing Podman Installation on Debian</strong></h3>



<p>Download the Alpine image by running</p>



<pre class="wp-block-verse">$ podman pull alpine<br>Trying to pull docker.io/library/alpine…<br>Getting image source signatures<br>Copying blob 050382585609 done<br>Copying config b7b28af77f done<br>Writing manifest to image destination<br>Storing signatures<br>b7b28af77ffec6054d13378df4fdf02725830086c7444d9c278af25312aa39b9</pre>



<p><strong>Run Docker Container</strong></p>



<pre class="wp-block-verse">[root@localhost sabi]# podman images<br> REPOSITORY                 TAG      IMAGE ID       CREATED       SIZE<br> docker.io/library/alpine   latest   b7b28af77ffe   3 weeks ago   5.85 MB<br> $ podman run -ti b7b28af77ffe /bin/sh<br> / # cat /etc/os-release <br> NAME="Alpine Linux"<br> ID=alpine<br> VERSION_ID=3.10.1<br> PRETTY_NAME="Alpine Linux v3.10"<br> HOME_URL="https://alpinelinux.org/"<br> BUG_REPORT_URL="https://bugs.alpinelinux.org/<br> /# exit</pre>



<p>You can remove the container by running the below command</p>



<pre class="wp-block-verse">[root@localhost sabi]# podman rm -f <code>podman ps -aq</code><br>d16db8f39c82f50f3a2bbf4834d948b660525a5c2b98979e433c3428f613c18d</pre>



<p>And that is it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-podman-on-debian-on-10-9/">How To Install Podman on Debian on 10 / 9</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/how-to-install-podman-on-debian-on-10-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
