How to Install Library Doctor on Windows (Docker Desktop)
Install Library Doctor on a Windows 11 or 10 PC with Docker Desktop: make Docker start with Windows, create the compose file, connect Plex and run your first scan.
- Time
- About 20 minutes
- Reading
- 9 min
- Updated
- 4 December 2026
- By
- spikey1965
- Tested with
- Library Doctor 0.4.0 (install steps first tested with 0.3.3 on Windows 11, Docker Desktop 4.99)

Follow this guide at your own risk, and back up your data first. Full disclaimer
Library Doctor checks your Plex, Jellyfin or Emby library every night for missing files, duplicates, broken or wrong-language copies and stuck downloads, with a button to fix most of them. If your media server runs on a Windows PC, Library Doctor can run on the same PC in Docker Desktop.
This guide installs it step by step on Windows 11 (Windows 10 works the same way). It takes about 20 minutes, most of it installing Docker Desktop. I tested every step on a Windows 11 PC running Plex for Windows.
Library Doctor on Windows: quick answer
To run Library Doctor on Windows, install Docker Desktop, save the compose file from this guide pointing at your media folder, start it and open http://localhost:8790. It takes about 20 minutes, most of it installing Docker Desktop.
| Before you start | A 64-bit Windows 11 or 10 PC with virtualisation switched on, an administrator login, Plex, Jellyfin or Emby, and your films and shows in a folder such as C:\Media. |
|---|---|
| Docker image | ghcr.io/spikey1965/library-doctor:latest |
| Time | About 20 minutes |
| Tested with | Windows 11 running Plex for Windows |
What you need
- A 64-bit Windows 11 or Windows 10 PC with virtualisation switched on (most PCs from the last ten years have it on already).
- Plex, Jellyfin or Emby, on this PC or elsewhere on your network, and Radarr and Sonarr if you use them (recommended).
- Your films and shows in a folder on this PC, for example
C:\MediawithMoviesandTVinside it. - An administrator login to Windows (only to install Docker Desktop).
1Install Docker Desktop
Download Docker Desktop for Windows from docker.com and run the installer. Keep the default settings, including Use WSL 2 instead of Hyper-V. Restart the PC when it asks.
After the restart, open Docker Desktop from the Start menu, accept the terms and skip the sign-in (you don’t need a Docker account). Wait until the bottom-left corner says Engine running.
If it asks you to update WSL, open PowerShell and run wsl --update, then start Docker Desktop again.
2Make Docker start with Windows
Don’t skip this step. Library Doctor only runs while Docker Desktop is running. If Docker doesn’t start by itself, Library Doctor stops every time the PC restarts, and the nightly scan never happens.
In Docker Desktop, open Settings → General and switch on Start Docker Desktop when you sign in to your computer. Press Apply if the button is lit.

Then check that Windows lets it start. Open Task Manager (Ctrl+Shift+Esc), go to Startup apps and make sure Docker Desktop says Enabled. If it says Disabled, right-click it and choose Enable.

On my test PC the Docker setting was on, but Windows had Docker switched off in this list, so it didn’t start after a restart. Both need to be on.
3Make a folder and the compose file
Open File Explorer and create a folder called C:\library-doctor. Library Doctor keeps its settings and password in a config folder inside it, which it makes the first time it starts.
Open Notepad and paste this. Change the time zone, and change C:\Media to the folder that holds your films and shows:
services:
library-doctor:
image: ghcr.io/spikey1965/library-doctor:latest
container_name: library-doctor
restart: unless-stopped
ports:
- "8790:8790"
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London # CHANGE: your time zone
volumes:
- ./config:/config
- C:\Media:/media # CHANGE: the folder with your films and shows
read_only: true
tmpfs:
- /tmp
security_opt:
- no-new-privileges:true
Leave PUID and PGID as 1000. On Windows they don’t need changing.
Save it in C:\library-doctor as compose.yaml. In the Save dialog, set Save as type to All files, or Notepad saves it as compose.yaml.txt and Docker won’t find it.

Films and shows on different drives? Add a line for each one, each to its own folder under /media, for example - D:\Movies:/media/movies and - E:\TV:/media/tv. I tested a single folder; separate drives use the same Docker feature.
4Start Library Doctor
Open PowerShell (Start menu, type PowerShell) and run these two lines:
cd C:\library-doctor
docker compose up -d
Docker downloads Library Doctor (under 300 MB) and starts it. Check it’s running:
docker compose ps
After about 30 seconds the status says (healthy), with port 8790:

If PowerShell says docker is not recognised, close it and open a new one: the window has to be opened after Docker Desktop was installed.
5Open it, make a password and connect Plex
Open http://localhost:8790 in your browser and create a password straight away.
In Settings, pick Plex, Jellyfin or Emby and fill in its address and token (the page has a link explaining how to find your Plex token). Got more than one media server? Add the others under More media servers. If Plex runs on this same PC, don’t use localhost: inside Docker, localhost means Library Doctor itself. Use the PC’s own network address instead, such as http://192.168.1.50:32400. To find it, run ipconfig in PowerShell and look for IPv4 Address.
Press Test, then Detect folders. Plex sees your files as C:\Media\… and Library Doctor sees the same files as /media/…, so Library Doctor needs to know they’re the same. Detect folders works it out by itself: the Folders row should show C:\Media → /media. You can also type it in with Add by hand.

Add Radarr and Sonarr the same way if you use them, then press Save settings. At the top of Settings, Folder check should say Your app lines up. Under Show details you can see a real Windows path turned into the path Library Doctor uses:

6Run your first scan
Go back to Scan Library and press Scan now. On my test library it took 15 seconds and found the two problems I’d planted: a duplicate copy of a film and a broken file.

Nothing is deleted without you pressing a button. Clean-ups move files into a .library-doctor-trash folder inside your media folder first, and you can put them back from the Trash page. I tested moving a file to the trash and putting it back on the Windows drive; it came back exactly as it was.
New in v0.4.5 ✓ (4 December)
- Clean-ups no longer leave an empty folder behind (Put Back makes it again)
- With Jellyfin or Emby, the log names your media server instead of “Plex”
New in v0.4.4 ✓ (4 December)
- Get the app: a new button at the top puts Library Doctor on your phone or computer, full screen with its own icon. How to put it on your phone
- Fixed: cards you fixed while a scan was running no longer come back as “problems keep coming back”
- Phones with several media servers show the Library Doctor icon in the top bar instead of a cut-off name
New in v0.4.1 ✓ (2 December)
- Much faster scans: the virus and fake file check only opens videos that are new or changed since they were last found clean, so a nightly scan takes a minute or two instead of several. The first scan after updating still checks them all
- That check counts up while it runs (“3,000 of 14,720”) instead of sitting still on the progress bar
- “To look at” counts on the scan list and Analysis no longer include cards you’ve ignored
- The page opens on a tile with work to do (missing files first, then damaged files and viruses)
New in v0.4.0 ✓ (28 November)
- Several media servers at once: add a second (or third) Plex, Jellyfin or Emby under Settings → More media servers. Each gets its own cards, scan history, trash and health score, and All servers shows them side by side (asked for on GitHub)
- An Ignore now counts on every server
- Learns what you ignore: after 3 Ignores of the same kind in one library, it offers to hide cards like those. Nothing is hidden unless you say yes
- Phone layout: the tabs sit along the bottom on a phone, and you can add Library Doctor to your home screen
- Quality fallback: when Replace finds nothing in your preferred quality, it can try a lower one as a last resort (set for each Radarr/Sonarr)
- Turn it off now works for indexers that come from Prowlarr
- Jellyfin and Emby: widescreen films are measured properly, and blank posters get Use the show’s poster and Copy poster from Plex
Fixes in v0.4.0
- Replace keeps the film or episode monitored, so Radarr/Sonarr keep looking, and the button says “Replacing…” so it isn’t pressed twice
- Refresh Plex on “Plex lists a file that isn’t on the disk” cards
- Safer Plex backups, and no more “keeps failing” card once an indexer works again
If something’s wrong
- Library Doctor stops after a restart. Docker Desktop isn’t starting with Windows. Do both parts of Step 2. Once Docker is running, Library Doctor starts by itself (that’s what
restart: unless-stoppeddoes). - Plex test fails with “unauthorized” or can’t connect. Use the PC’s IP address, not
localhost, and check the token. If Plex is on another computer, use that computer’s IP address. - Every file shows as missing. The folder mapping is wrong. In Plex’s settings in Library Doctor, the left side must be the folder as Plex sees it (
C:\Media) and the right side the same folder in Library Doctor (/media). - It won’t open from your phone or another computer. Windows Firewall may be blocking it. Open PowerShell as administrator and run
New-NetFirewallRule -DisplayName "Library Doctor" -Direction Inbound -Protocol TCP -LocalPort 8790 -Action Allow -Profile Private, then usehttp://YOUR-PC-IP:8790. Keep it on your home network: don’t forward port 8790 on your router. - A
.library-doctor-trashfolder appeared in your media folder. That’s Library Doctor’s trash. Leave it there: Plex is told to ignore it, and files in it are deleted for good after the number of days set in Settings (7 by default). Windows shows it because it doesn’t hide folders starting with a dot. - The nightly scan never runs. The PC has to be awake at scan time (03:00 by default). Pick a time when it’s on under Settings → General → Automatic scan, or stop it sleeping at night.
Updating Library Doctor on Windows
Your password and settings live in C:\library-doctor\config, so they’re kept when you update. In PowerShell:
cd C:\library-doctor
docker compose pull
docker compose up -d
What’s new in each version is in the changelog on GitHub.
Frequently asked questions
Does Library Doctor work on Windows?
Yes. It runs in Docker Desktop on Windows 11 or 10, using WSL 2. It was tested on Windows 11 with Plex for Windows.
What address do I use for Plex on the same Windows PC?
Use the PC's own IP address, for example http://192.168.1.50:32400, not localhost. Inside Docker, localhost means Library Doctor itself. Run ipconfig to find the IPv4 address.
Why does Library Doctor stop when I restart my PC?
Docker Desktop isn't starting with Windows. Switch on Start Docker Desktop when you sign in under Docker Settings, General, and check Docker Desktop is Enabled in Task Manager, Startup apps.
Does my PC need to be on for the nightly scan?
Yes. The scan runs at 03:00 by default, so pick a time when the PC is awake under Settings, General, Automatic scan.
Is Library Doctor free?
Yes. It's free and open source (MIT). Docker Desktop is free for personal use.
Thank you
Library Doctor is free and open source (MIT) at github.com/spikey1965/library-doctor. It was tested on Windows 11 with Docker Desktop and Plex for Windows; if you run it on your own Windows PC, an issue saying how it went (good or bad) really helps. Windows is a trademark of Microsoft, and Docker and Docker Desktop are trademarks of Docker, Inc. This site isn’t connected to either.
Questions or stuck? Ask in the Library Doctor Discord: setup help, ideas for new checks, and every new version posted the moment it’s out.
Related guides: Library Doctor: how it was built and tested · Library Doctor with Docker Compose · Library Doctor on Synology
Using it? Leave a review, it really helps.

Get new guides by email
About one email a month: new guides and card releases. No spam, unsubscribe any time.



Comments
No comments yet. Questions and tips are welcome.