Run Windows 10
Free in Your Browser
Deploy a complete Windows 10 environment using Docker and GitHub Codespaces. No PC required, no cost, no installation.
PC-Free is an open-source project that lets you run Windows 10 directly in your web browser via GitHub Codespaces and Docker. No local installation, no powerful hardware, completely free.
The fastest path to a running Windows environment. No local dependencies needed.
Code → Codespaces → Create codespace on main.Requires Docker Engine 20.10+ with KVM support on Linux. See System Requirements for details.
df -h
Pick the partition with the most free space.
sudo mkdir -p /tmp/docker-data
sudo nano /etc/docker/daemon.json
Add the following content:
{
"data-root": "/tmp/docker-data"
}
docker info # Docker Root Dir should be /tmp/docker-data
# Run check_github_follow.sh before docker-compose up services: windows: image: dockurr/windows container_name: windows environment: VERSION: "10" USERNAME: ${WINDOWS_USERNAME} PASSWORD: ${WINDOWS_PASSWORD} RAM_SIZE: "10G" CPU_CORES: "4" ports: - "8006:8006" # Web interface - "3389:3389" # RDP volumes: - /tmp/docker-data:/mnt/disco1 - windows-data:/mnt/windows-data restart: always volumes: windows-data:
WINDOWS_USERNAME=YourUsername WINDOWS_PASSWORD=YourPassword GITHUB_USER=YourGitHubUsername
Never commit your .env file. Add it to .gitignore immediately: echo ".env" >> .gitignore
docker-compose -f windows10.yml up
docker stop windows # graceful shutdown docker restart windows # restart after freeze docker logs -f windows # live logs (Ctrl+C to exit)
docker-compose -f windows10.yml down -v
The -v flag permanently deletes all Windows data including installed software and files.
Customize resources by editing the environment block in windows10.yml:
environment: VERSION: "10" # or "11" for Windows 11 RAM_SIZE: "10G" # minimum 6G CPU_CORES: "4" # minimum 2 DISK_SIZE: "64G" # virtual disk size
To enable native RDP access, expose port 3389 and connect with any Remote Desktop client to localhost:3389.
| Feature | ⚡ PC-Free | Azure VD | AWS WorkSpaces | Local VM |
|---|---|---|---|---|
| Monthly Cost | $0 Free | $31–100+ | $25–75+ | $0 Free |
| Setup Time | 5 min | 30+ min | 30+ min | 15–30 min |
| Hardware | None | None | None | Powerful PC |
| Browser Access | Yes | Yes | Yes | Limited |
| Open Source | Yes | No | No | Partial |
- Free GitHub account
- Chrome 90+, Firefox 88+, Edge 90+, Safari 14+
- 10 GB+ available Codespace storage
- Stable internet — 2 Mbps+ recommended
- Docker Engine 20.10+
- 20 GB+ free disk space
- 8 GB+ RAM (16 GB recommended)
- KVM (Linux) or Hyper-V (Windows Pro)
- Linux, macOS, or Windows 10/11 Pro
docker logs windows. On Linux, verify KVM access: ls -la /dev/kvm. If /dev/kvm doesn't exist, KVM virtualization may need to be enabled in your BIOS.
6G and CPU to 2 cores in windows10.yml. Close other resource-intensive Codespace apps and check your Codespace machine type in GitHub settings.
docker system prune -a then verify available space with df -h. This removes unused images, containers, and build cache.
docker ps. If not, restart it: docker restart windows.
Vote for features →
Contributions are welcome! Fork the repo, create a feature branch, commit your changes, and open a Pull Request. See CONTRIBUTING.md for guidelines.