Skip to content

Instantly share code, notes, and snippets.

@sw4k
sw4k / install-docker-qubes.md
Last active April 16, 2024 03:34
Install Docker on Qubes OS 4.2

Install Docker on Qubes OS 4.2

The primary reason to change the data directory for docker to the home directory for user is to have persistence across AppVM restarts. The secondary reason is to work around permission issues.

Here we provide "the Qubes way" of solving for both that does not leave "bind-dirs" nor "docker" in a broken state.

Step 1: TemplateVM - Perform installation of docker via your package manager, and ensure services are disabled

sudo apt install -y docker.io