TubeSync is a web-based application to synchronize channels and playlists from YouTube to local directories. It also allows updating the own media server once videos are downloaded.
This tutorial explains how to install TubeSync inside a Docker container in the Linux. Commands have been tested on Ubuntu.
Make sure you have installed Docker in your system. If you are using Ubuntu, installation instructions can be found in the post.
- Host network
Run the following command to create a container for TubeSync that uses host network:
docker run -d --name=tubesync --restart=always --network=host \ -e HTTP_USER=admin \ -e HTTP_PASS=pwd123 \ -v /opt/tubesync/config:/config \ -v /opt/tubesync/downloads:/downloads \ ghcr.io/meeb/tubesync
- User-defined bridge network
User-defined bridge network can be used for listening on different port. By default, TubeSync service is listening on port 4848. It can be changed with
docker network create app-net
docker run -d --name=tubesync --restart=always --network=app-net \ -p 8080:4848 \ -e HTTP_USER=admin \ -e HTTP_PASS=pwd123 \ -v /opt/tubesync/config:/config \ -v /opt/tubesync/downloads:/downloads \ ghcr.io/meeb/tubesync
Open a web browser and go to
<IP_ADDRESS> is the IP address of the system. Log in to the web interface with username and password.
To completely remove TubeSync, remove its container:
docker rm --force tubesync
Remove TubeSync image:
docker rmi ghcr.io/meeb/tubesync
You can also remove TubeSync data:
sudo rm -rf /opt/tubesync
If a user-defined bridge network was created, you can delete it as follows:
docker network rm app-net
Leave a CommentCancel reply