<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Container on Luiz Felipe F M Costa</title><link>https://thenets.org/tags/container/</link><description>Recent content in Container on Luiz Felipe F M Costa</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 10 Jun 2025 17:11:05 +0000</lastBuildDate><atom:link href="https://thenets.org/tags/container/index.xml" rel="self" type="application/rss+xml"/><item><title>podman + docker compose and daemon on Linux</title><link>https://thenets.org/posts/podman-docker-compose-and-daemon-on-linux/</link><pubDate>Tue, 10 Jun 2025 17:11:05 +0000</pubDate><guid>https://thenets.org/posts/podman-docker-compose-and-daemon-on-linux/</guid><description>&lt;p&gt;I&amp;rsquo;m setting up my developer machine and this is a common situation I face working on some opensource projects. Podman itself already is a great replacement for all container needs I have but &lt;code&gt;docker compose&lt;/code&gt; still is an important component. In this post, I want to go through the process to setup a Fedora machine using Podman with support for &lt;code&gt;docker compose&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="requirements"&gt;Requirements&lt;/h2&gt;
&lt;p&gt;Some new Linux distro. Even Debian Testing will have the necessary packages. Here, I&amp;rsquo;m using Fedora 42.&lt;/p&gt;</description></item><item><title>How to install Ollama + Open-WebUI on Fedora/RHEL using podman Quadlets</title><link>https://thenets.org/posts/how-to-install-ollama-open-webui-on-fedora-using-podman-quadlets/</link><pubDate>Wed, 28 May 2025 08:02:31 +0000</pubDate><guid>https://thenets.org/posts/how-to-install-ollama-open-webui-on-fedora-using-podman-quadlets/</guid><description>&lt;p&gt;Ollama is a powerful tool for running large language models locally. This guide walks you through setting up Ollama on Fedora using Podman Quadlets, ensuring it runs as a systemd service with persistent storage and GPU support.&lt;/p&gt;
&lt;h2 id="requirements"&gt;Requirements&lt;/h2&gt;
&lt;p&gt;Make sure you have full GPU support for podman containers:&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;# This must return something like
# &amp;gt; GPU 0: NVIDIA GeForce RTX 3070 (UUID: GPU-...)
podman run --rm --security-opt=label=disable \
 --device nvidia.com/gpu=all \
 ubi9 \
 nvidia-smi -L
&lt;/code&gt;&lt;/pre&gt;
&lt;figcaption class="code-caption"&gt;Check podman GPU support&lt;/figcaption&gt;
&lt;p&gt;If you have a NVIDIA GPU and the command above didn&amp;rsquo;t work, check the following post to fix that:&lt;/p&gt;</description></item><item><title>How to install Syncthing on Fedora/RHEL using podman Quadlets</title><link>https://thenets.org/posts/how-to-install-syncthing-on-fedora/</link><pubDate>Wed, 28 May 2025 00:47:59 +0000</pubDate><guid>https://thenets.org/posts/how-to-install-syncthing-on-fedora/</guid><description>&lt;p&gt;The Syncthing is the best Peer-to-Peer solution I&amp;rsquo;ve ever used. It is flexible, has clients for most platforms, decentralized, and open source. This guide will show you how to install it and use it for your Fedora. I&amp;rsquo;m lazy, so everything will be on top of &lt;code&gt;podman&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="install-podman"&gt;Install podman&lt;/h2&gt;
&lt;p&gt;If you are familiar with &lt;code&gt;docker&lt;/code&gt;, &lt;code&gt;podman&lt;/code&gt; is similar but with a more secure approach out-of-the-box. Let&amp;rsquo;s install it:&lt;/p&gt;
&lt;pre&gt;&lt;code class="language-bash"&gt;sudo dnf install -y podman
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="create-the-systemd-service"&gt;Create the systemd service&lt;/h2&gt;
&lt;p&gt;Create the config dir:&lt;/p&gt;</description></item><item><title>How to securely share secrets with podman containers</title><link>https://thenets.org/posts/how-to-securely-share-secrets-with-podman-containers/</link><pubDate>Sat, 03 Jun 2023 08:30:04 +0000</pubDate><guid>https://thenets.org/posts/how-to-securely-share-secrets-with-podman-containers/</guid><description>&lt;p&gt;Podman is a daemon-less, open-source, Linux native tool designed to make it easy to find, run, build, share, and deploy applications. It offers many data isolation options, and in this post, I wanna cover all the options I know to securely share data with a container.&lt;/p&gt;
&lt;h2 id="how-to-be-paranoid-about-security"&gt;How to be paranoid about security&lt;/h2&gt;
&lt;p&gt;Any security measurement should always be based on a multi-layer security system, assuming that any protection can be compromised and another one should exist to block a potential attack. For example, if you want to design a distributed system, you probably want to follow a Zero Trust architecture:&lt;/p&gt;</description></item></channel></rss>