Docker & Trixie

Docker & Trixie

Docker is not yet officially supported so Alex and Baden will remain on Bookworm for the time being

Debian
Learn how to install Docker Engine on Debian. These instructions cover the different installation methods, how to uninstall, and next steps.

However - Cisco and Davros are my test servers so I will be giving them a spin on Trixie and see how we go. A guide is here as everyone else is giving them a spin.

How to upgrade to Trixie

#!/bin/bash
# Debian 12 → Debian 13 Upgrade Script
# Reference: https://linuxconfig.org/how-to-upgrade-debian-to-latest-version
# Purpose: Automate upgrade with traceable, auditable steps

set -euo pipefail

echo "=== Debian Upgrade Script: Bookworm → Trixie ==="

# 1. Remove docker to avoid conflicts
echo "[1/8] Removing Docker to avoid conflicts..."
if dpkg -l | grep docker-ce; then
    apt remove -y docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin docker-model-plugin containerd.io || true
    apt purge -y docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin docker-model-plugin containerd.io || true
    apt autoremove -y
fi


# 2. Update current system
echo "[2/8] Updating current Debian 12 system..."q
apt update
apt upgrade -y
apt dist-upgrade -y

# 3. Clean package cache
echo "[3/8] Cleaning package cache..."
apt clean
apt autoremove -y

# 4. Verify system integrity
echo "[4/8] Checking system status..."
apt --fix-broken install -y || true
dpkg --configure -a

# 5. Update repository sources
echo "[5/8] Updating APT sources from Bookworm to Trixie..."
cp /etc/apt/sources.list /etc/apt/sources.list.bookworm-backup
cp -r /etc/apt/sources.list.d /etc/apt/sources.list.d.bookworm-backup
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
find /etc/apt/sources.list.d -name "*.list" -exec sed -i 's/bookworm/trixie/g' {} \;

# 6. Refresh package database
echo "[6/8] Refreshing package database..."
apt update

# 7. Perform upgrade
echo "[7/8] Performing minimal upgrade..."
apt upgrade --without-new-pkgs -y -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-confdef"

echo "[7/8] Performing full distribution upgrade..."
apt full-upgrade -y -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-confdef"

# 8. Post-upgrade cleanup and verification
echo "[8/8] Verifying upgrade and cleaning up..."
cat /etc/os-release


apt autoremove -y
apt autoclean -y
apt --fix-broken install -y || true
dpkg --configure -a
apt update
apt list --upgradable

echo "Upgrade complete. Please reboot the system..."
echo "Reinsall Docker after reboot using your preferred method."
echo "=== End of Upgrade Script ==="
How to Install Docker on Debian 13 (Trixie): A Step-by-Step Guide
Learn how to install Docker on Debian 13 (Trixie) from start to finish and get your containerization environment ready in minutes.

The Proxmox Community appear to be waiting as well.

Proxmox VE Helper-Scripts
The official website for the Proxmox VE Helper-Scripts (Community) Repository. Featuring over 300+ scripts to help you manage your Proxmox VE environment.

I will bring up my two main servers and leave the others although I might spin up a Debian Trixy LXC and see what gives. A Debian 12 seems to break at the moment, so I will need to look at that.

#enoughsaid