Ir al contenido principal

Fix "Error: kernel does not support overlay fs" on Steam Deck - Complete Solution

How to Fix "Error: kernel does not support overlay fs" on Steam Deck

Step-by-Step Solution for SteamOS

Understanding the Error

If you're trying to use container tools like Podman or Docker on your Steam Deck with SteamOS, you might run into this annoying error:

Error: kernel does not support overlay fs: 'overlay' is not supported over extfs at "/home/deck/.local/share/containers/storage/overlay": backing file system is unsupported for this graph driver

This happens because SteamOS has a unique file system structure designed for gaming. The root filesystem uses Btrfs with read-only partitions, while your home directory is on an ext4 partition. The overlay driver doesn't work natively on this ext4 setup.

In this guide, I'll show you the permanent solution to fix this error and get your containers working correctly on the Steam Deck.

Solution Flowchart

The solution process follows these steps:

  1. Attempt to enable 'overlay' in the kernel.
  2. If it works, make it permanent.
  3. If it doesn't work, switch the storage driver to 'fuse-overlayfs'.
  4. Verify that the solution is working.

Step-by-Step Solution

A Enable Overlay Support in the Kernel

1 Enable Overlay Support Temporarily

Open the Terminal on your Steam Deck (in Desktop Mode) and run:

sudo modprobe overlay

2 Test Container Operation

Try running your container command again:

podman run hello-world
Note: If this works, proceed to step A.3. If not, proceed to Section B.

3 Make the Change Permanent

To ensure the change persists after reboots:

echo "overlay" | sudo tee /etc/modules-load.d/overlay.conf sudo systemctl restart systemd-modules-load

B Change Storage Configuration

If enabling overlay didn't work, try one of these options:

1 Option B.1: Use Temporary Storage

mkdir -p ~/.config/containers cat <<EOF > ~/.config/containers/storage.conf [storage] driver = "overlay" graphroot = "/tmp/containers/storage" runroot = "/tmp/containers/run" EOF
Best for: Temporary containers.

2 Option B.2: Use FUSE OverlayFS (Recommended)

1. Install fuse-overlayfs:

# Download, make executable, and move curl -LO https://github.com/containers/fuse-overlayfs/releases/download/v1.13/fuse-overlayfs-x86_64 chmod +x fuse-overlayfs-x86_64 mkdir -p ~/.local/bin mv fuse-overlayfs-x86_64 ~/.local/bin/fuse-overlayfs

2. Configure storage:

mkdir -p ~/.config/containers cat <<EOF > ~/.config/containers/storage.conf [storage] driver = "overlay" mount_program = "$HOME/.local/bin/fuse-overlayfs" EOF
Best for: Most users who need persistent storage.

C Verify the Solution

1 Check Kernel Support

lsmod | grep overlay

2 Test Container Operation

podman run --rm hello-world

You should see a success message.

Final Notes

Congratulations! You have successfully resolved the error. Option B.2 (fuse-overlayfs) is the most recommended solution.

These changes will survive SteamOS updates because they are saved in your home directory.

If you still have issues, you can reset your container storage with:

podman system reset
Warning: This will delete all your existing containers and images!

Steam Deck Container Solution | Published June 2025

This solution works on SteamOS 3.0+ and is compatible with Podman.

Comentarios

Entradas populares de este blog

Universitat de València: Configurando servicios informáticos con chuleta

Tras un retraso considerable, cosas de duendes,  ya estoy matriculado para el doctorado. He aquí mi chuleta de configuración de servicios de la UV para ayudar a hacerlo mas rápido a los que vengan detrás. CORREO: GMAIL , POSTAL.UV.ES Wi Fi: EDUROAM CAT VPN: OPENVPN CONNECT  Android IOS   GNU/Linux MS Windows  7+  (botón derecho guardar enlace como) Android método 2 PUBLICACIONES: SCIENCE DIRECT   CORREO: Para empezar el acceso al correo mediante  https://correo.uv.es/    me da errores,mando un correo desde una cuenta de gmail que abrí para el doctorado, saludo y recibo una muy útil información, entre otras la de la otro acceso al correo vía web  https://sogo.uv.es  que probé también con poco éxito al principio, luego, por misterios de la informática ha ido bien. USAR GMAIL para el correo UV.ES: Como el correo no me funciona bien al principìo lo he configuré en gmail : En configuración (en el menú de la...

Como insertar una firma digital con OKULAR o LIBRE OFFICE en KDE PLASMA

O lo que unos señores teóricamente sabiondos de la ofimática no supieron hacer, ni encontrar como hacer en 15 minutos, ni otros explicaron luego como hacerlo en sus reacciones.  1.- Instala kgpg , desde el terminal o desde la GUI de tu distribución. 2.- Ejecuta kgpg y genera una nueva clave, con su contraseña con el paso a paso que te va mostrando el menú. 3.- Ya puedes firmar desde el menú archivo en Libre Office , o desde el menú herramientas de Okular . PS: En Kgpg puedes añadir la firma de la FNMT en España y supongo que de otros certificados digitales, (que en mi caso funciona bien desde Okular , y en LO da un error de caducidad que no corresponde). PS2: En AUR autofirma provee, por si solo o en combinación con Okular o LO la firma digital. > yay -Ss autofirma aur/autofirma 1.7.2-1 (+37 0.01) (Instalado)    Cliente de firma electrónica ofrecido por la Administración Pública Para instalar en sistemas arch como Manjaro, Steam OS Arco y similares:  ...

2023 was the LiGnux gaming year (before the GNU/Linux desktop year, who would have guessed)

2023 was the year when LiGnux became better for gaming at least in FPS (before the GNU/Linux desktop year, who would have guessed), but still there is a lot of market share to grow to, including future ARM laptops.  If you are a gamer, 2023 was the handheld year, and when gamers realized that GNU/Linux (or LiGnux because Android and Chrome OS are non GNU Linux) is better for gaming, even MS Windows games. Benchmarks show Linux runs Windows games faster than Windows https://www.computerbase.de/2023-12/welche-linux-distribution-zum-spielen/2/ BUT, and it is a big BUT, despite a lot of people using the Steam Deck there is not detected yet a migration to LiGnux on their desktop gaming PC. I think that Steam should make - A Steam Controller 2 with the Steam Deck layout,  (that I think will be sold as hot bread, for PC and for handhelds when plugged to a TV). - A Steam OS ISO,  (compatible with Ventoy, and easy to doble boot, and to be installed as MS WSL - inside windows -) - ...