Jump to content

Installing terminal apps like gallery-dl and youtube-dl?


Recommended Posts

Posted (edited)

Hi, I recently put together my 3rd unraid server and it keeps working better and better!

One thing i wanted to do was run, from the terminal, the python programs gallery-dl and youtube-dl (I know there is a docker for youtube but have a workflow that is better suited to the terminal for these two apps).

Since unraid runs off ram i lose these installs so wanted to ask how i can install, and regularly update these programs?

I guess I could just add a line to my .profile to install them every time the server reboots (which shouldnt be often) but that seems a bit wonky?

Edited by gaikokujinkyofusho
Posted (edited)

I would still go with using docker containers. Either a single custom python container with the apps installed which you use and access kind of like a little vm. Or adjust your scripts/workflow to launch the commands in containers using docker run. 

Edited by primeval_god
Posted (edited)

Ok, well i've got nothing against using a docker, just am not particularly familiar with them.

Is that something where i would have to put together my own docker or is there a minimal docker that i could (i guess) install then i guess ssh into and do what i need?

 

Edited by gaikokujinkyofusho
Posted

Well you could start with one of the youtube-dl based images if it generally meets your needs. Otherwise you might try one of the python base images https://hub.docker.com/_/python. If you install the container using community applications then you can access the console within the container from the unraid webgui by choosing the container on the dashboard and selecting the console button. Alternatively you can access the container from the unraid commandline using a docker exec command (using -it) https://docs.docker.com/engine/reference/commandline/exec/. Once you get the container configured the way you want you will probably want to use https://docs.docker.com/engine/reference/commandline/commit/ docker commit to make your own image. 

 

Could you describe a bit more the setup you were going for initially? Might help me point you in the right direction.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...