$ docker create \ --name pyLoad \ -p 8000:8000 \ -e PUID=<UID> -e PGID=<GID> \ -e TZ=<YourRegion>/<YourCapital> \ -v </path/to/your/downloads>:/downloads \ -v </path/to/your/configs>:/config \ cobraeti/pyload
- -p 8000:8000 - The webUI port mapping
- -v </path/to/your/downloads>:/downloads - Path to your downloads folder
- -v </path/to/your/configs>:/config - Path to your configs folder (recommended for persisting config)
- -v /etc/localtime:/etc/localtime:ro - Share of the host localtime (optionnal)
- -e PUID=<UID> for UserID - See below for explanation
- -e PGID=<GID> for GroupID - See below for explanation
- -e TZ=<YourRegion>/<YourCapital> for timezone information - eg Europe/Paris
User / Group Identifiers
From LinuxServer.io description:
The PGID and PUID values set the user / group you'd like your container to 'run as' to the host OS. This can be a user you've created or even root (not recommended).
Part of what makes our containers work so well is by allowing you to specify your own PUID and PGID. This avoids nasty permissions errors with relation to data volumes (-v flags). When an application is installed on the host OS it is normally added to the common group called users, Docker apps due to the nature of the technology can't be added to this group. So we added this feature to let you easily choose when running your containers.
The default port for webUI is 8000 and must stay like that. If you need to use another one, only change the port mapping when creating the container (ex:
$ docker create --name pyLoad -p <NEW PORT>:8000 ...)
- Default login:
- Default password:
You can (and should :yum:) change the password through the webUI (Top right corner > Administrate > User > change).
If you want to create users, you need to run the following command on the docker host:
$ docker exec -it pyLoad /bin/bash
When you get the container's promp (something like
root@263c2ec0c11a:/#), run the following:
# sudo -u abc -g abc /usr/bin/python /opt/pyload/pyLoadCore.py -u
And then follow the CLI prompts to manage users.
- New users seems to be available only after pyLoad restart (Top right corner > Administrate > Restart pyLoad) (no more)
- Don't forget to leave the user management script with choice 4 (Quit) or users won't be added
The default folder for downloads is
/downloadsand must stay like that. If you need to change the destination folder for downloads, only change the volume mapping when creating the container (eg:
$ docker create --name pyLoad -v <NEW FOLDER>:/downloads ...)
If you are planning to activate this option, just add a port mapping for the dedicated port with
-p 7227:7227 and when pyload is up, just activate the remote control in the dedicated config menu (Top right corner > Config tab > General tab > Menu tab > Remote > Activated > on)
The container was packed with all requirements (obviously except for GUI...), so you just have to add a volume mapping to a folder containing your certificate and key with
-v </path/to/your/ssl/folder>:/ssl and configure SSL in the dedicated config menu (Top right corner > Config tab > General tab > Menu tab > SSL)