Skip to content

Setup Guides

I-am-PUID-0 edited this page Apr 14, 2023 · 7 revisions

Windows Setup Guide (Docker/WSL)

From the Microsoft store, install Windows Subsystem for Linux (WSL) From the Microsoft store, install Ubuntu 22.04 LTS Follow the setup to create your Ubuntu user and password.

From a Windows command prompt, paste the following:

cd C:\WINDOWS\system32

Then paste:

wsl --setdefault Ubuntu-22.04

From Windows apps, start Ubuntu 22.04 and past the following inside the terminal:

sudo apt update
sudo apt upgrade -y 
sudo mount --make-rshared / 

Follow the Docker install guide.

Follow the standard docker process for creating the container.

To access the mount on Windows: From the Ubuntu terminal, paste the following, including the punctuation:

explorer.exe .

A new file explorer window will appear; you’re now inside the Ubuntu directory structure Navigate to the mount location and copy the full path from the explore window From another file explorer window, click "This PC," then right-click in the space below the listed drives and select add a network location In the pop-up, click next twice and past the mount location. Follow the remaining prompted steps

Extra credit, install Portainer.

Install script for Ubuntu and/or WSL

Whether starting with a clean install of Ubuntu (22.04 LTS tested), an established Docker setup on Ubuntu, or following the Windows Setup Guide (Docker/WSL), this script will walk the user through a prompted installation of Docker and/or pdrcrd. For users utilizing WSL, a prompt is also provided post setup that allows the user to open the newly mounted rclone_RD directory inside the Windows explore of the host machine.

Paste the below into your Ubuntu CLI.

curl -o pdrcrd_ubuntu_install.sh https://raw.githubusercontent.com/I-am-PUID-0/pdrcrd/master/Ubuntu/pdrcrd_ubuntu_install.sh && chmod +x pdrcrd_ubuntu_install.sh

Then paste the following:

./pdrcrd_ubuntu_install.sh

Follow the prompts and enjoy :slight_smile:

NOTE: Testing has not been performed on any distros other than Ubuntu 22.04 LTS and WSL 2 on Windows 11. If you experience any issues, please post them in the Issues on GitHub.

Clone this wiki locally