<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ubuntu on José Ángel's Blog</title><link>https://blog.joseangelinfra.dev/en/tags/ubuntu/</link><description>Recent content in Ubuntu on José Ángel's Blog</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 14 Nov 2026 10:00:00 +0100</lastBuildDate><atom:link href="https://blog.joseangelinfra.dev/en/tags/ubuntu/index.xml" rel="self" type="application/rss+xml"/><item><title>Install Docker and Docker Compose on Ubuntu</title><link>https://blog.joseangelinfra.dev/en/posts/instalar-docker-compose-ubuntu/</link><pubDate>Sat, 14 Nov 2026 10:00:00 +0100</pubDate><guid>https://blog.joseangelinfra.dev/en/posts/instalar-docker-compose-ubuntu/</guid><description>&lt;p>This guide installs Docker Engine and the Docker Compose plugin from Docker&amp;rsquo;s official repository on Ubuntu. It is preferable to the distribution packages because it receives new versions and security fixes sooner. It is the same method I use in my homelab, and at the end I describe the problems it gave me and how to avoid them.&lt;/p>
&lt;p>In short, once the official repository is added:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>sudo apt install docker-ce docker-compose-plugin
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>sudo usermod -aG docker &lt;span style="color:#8be9fd;font-style:italic">$USER&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>docker compose up -d
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="requirements">Requirements&lt;/h2>
&lt;ul>
&lt;li>Ubuntu Server on a supported LTS version (22.04, 24.04 or 26.04), 64-bit.&lt;/li>
&lt;li>A user with &lt;code>sudo&lt;/code> permissions.&lt;/li>
&lt;li>No unofficial packages such as &lt;code>docker.io&lt;/code>, &lt;code>containerd&lt;/code> or &lt;code>runc&lt;/code> installed; they conflict with the official ones.&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>sudo apt remove docker.io containerd runc
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Uninstalling does not delete your images, containers or volumes in &lt;code>/var/lib/docker/&lt;/code>.&lt;/p></description></item></channel></rss>