<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Docker Compose on José Ángel's Blog</title><link>https://blog.joseangelinfra.dev/en/tags/docker-compose/</link><description>Recent content in Docker Compose on José Ángel's Blog</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 16 Nov 2026 23:00:00 +0100</lastBuildDate><atom:link href="https://blog.joseangelinfra.dev/en/tags/docker-compose/index.xml" rel="self" type="application/rss+xml"/><item><title>Docker Compose beyond up: networks, volumes and where your data lives</title><link>https://blog.joseangelinfra.dev/en/posts/docker-compose-redes-volumenes/</link><pubDate>Mon, 16 Nov 2026 23:00:00 +0100</pubDate><guid>https://blog.joseangelinfra.dev/en/posts/docker-compose-redes-volumenes/</guid><description>&lt;p>Starting a container with &lt;code>docker compose up -d&lt;/code> is easy. The hard part comes months later, when you have twenty containers and someone asks where each one keeps its data, which container talks to which, and what happens if you delete something. This guide explains how I organise it in my homelab and the commands I have learned not to run lightly.&lt;/p>
&lt;p>&lt;img src="https://blog.joseangelinfra.dev/img/posts/docker-compose-redes-volumenes-1.en.svg" alt="Illustrated diagram of several containers connected through separate networks, each with its data folder next to it">&lt;/p></description></item><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>