gaikokujinkyofusho Posted July 12, 2020 Posted July 12, 2020 (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 July 13, 2020 by gaikokujinkyofusho Quote
primeval_god Posted July 13, 2020 Posted July 13, 2020 (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 July 13, 2020 by primeval_god Quote
gaikokujinkyofusho Posted July 13, 2020 Author Posted July 13, 2020 (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 July 13, 2020 by gaikokujinkyofusho Quote
primeval_god Posted July 13, 2020 Posted July 13, 2020 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. Quote
Recommended Posts
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.