Overview
The setup scripts will:- Prompt you for your TorBox API key
- Ask which mount method you prefer (STRM or FUSE)
- Let you choose where to store your media files
- Verify Docker is installed and running
- Check for FUSE support (if needed)
- Create necessary directories
- Run the Docker container with proper configuration
- Display helpful commands for managing the container
Supported platforms
Linux
setup-linux.shWorks on all Linux distributions with BashmacOS
setup-macos.shWorks on macOS with Docker DesktopWindows
setup-windows.batWorks on Windows with Docker Desktop or WSL2Prerequisites
- Docker installed and running on your system
- A TorBox account on a paid plan
- Your TorBox API key from torbox.app/settings
- Administrator/sudo access (required for Docker operations)
Linux setup
Download the script
What the script does
- Validates API key - Ensures you’ve entered a key
- Checks mount method - Verifies you chose
fuseorstrm - Sets storage path - Uses default or your custom path
- Verifies Docker - Checks if Docker is installed and running
- Checks FUSE (if needed) - Verifies FUSE is available for FUSE mount method
- Creates directory - Makes the storage path if it doesn’t exist
- Runs container - Executes the appropriate Docker command
- Shows management commands - Displays helpful commands for logs, restart, stop, and remove
Script output example
macOS setup
For FUSE support on macOS, you need to install macFUSE first.
macOS-specific differences
- Uses
/Users/instead of/home/for default path - Uses
id -uninstead ofwhoamifor username detection - Same Docker configuration as Linux
Windows setup
Download the script
Download
setup-windows.bat from GitHub.Windows-specific behavior
- Stops and removes existing container before creating a new one
- Checks for FUSE in WSL2 environment if using FUSE method
- Uses Windows path format (
C:\Users\...) - No sudo required (uses administrator permissions)
Configuration options
Mount method choice
When prompted to choose between FUSE and STRM:-
STRM - Recommended for:
- Jellyfin and Emby users
- Windows users
- Simpler setup without special permissions
-
FUSE - Recommended for:
- Plex users
- VLC, Infuse, and other direct file access
- Advanced users comfortable with system-level permissions
Custom storage path
You can specify any path where you want your media files:Linux/macOS
Windows
The script will create the directory if it doesn’t exist.
After installation
Once the script completes, you can:View logs
Linux/macOS
Windows
Restart container
Linux/macOS
Windows
Stop container
Linux/macOS
Windows
Remove container
Linux/macOS
Windows
Troubleshooting
Docker not installed
If the script reports Docker isn’t installed:- Linux
- macOS
- Windows
Install Docker using your distribution’s package manager or follow the official guide.
Ubuntu/Debian
Docker not running
If Docker is installed but not running:Linux
macOS/Windows
FUSE not available
If you chose FUSE but it’s not available:- Linux
- macOS
- Windows
Install FUSE:
Ubuntu/Debian
Fedora/CentOS
Permission denied errors
If you get permission errors:Linux/macOS
Windows
Container already exists
If a container namedtorbox-media-center already exists:
Manual configuration
If you prefer to configure options without running the script interactively, you can:- View the script source code on GitHub
- Copy the Docker run command from the script
- Modify the environment variables and volume mounts
- Run the Docker command directly
Next steps
After running the setup script:- Check the container logs to ensure it’s running correctly
- Your media files will appear at the storage path you specified
- Configure your media server to use:
- Movies:
<storage_path>/movies - TV Shows:
<storage_path>/series
- Movies:
See the Configuration guide for advanced settings and environment variables.