wiserain / docker-flexget

Docker image for running Flexget
https://hub.docker.com/r/wiserain/flexget
68 stars 40 forks source link

How to add curl command #21

Closed PDSCi996 closed 3 years ago

PDSCi996 commented 3 years ago

Thank you very much for mirroring. I now want to use flexget to cooperate with youtube-dl to automatically download youtube videos, and I have automatically grabbed the updated rss, but the log prompts "Stdout: /bin/sh: curl: not found" when pushing, and I checked that the possible reason is that the mirror is not found. Caused by the curl command. Since I don't know much about docker, I would like to ask how to install or package curl commands into the image you made.

wiserain commented 3 years ago

Move into docker container by docker exec -it <container name or hash id> bash then type command apk add --no-cache curl to install curl. However, this will be removed/roll-backed if you recreate the container.

If you want this to be persist, 1) build your own docker image with packages you wish to include , 2) use docker commit feature, or 3) use cont.init-d. The last one is described in README.md

PDSCi996 commented 3 years ago

Move into docker container by docker exec -it <container name or hash id> bash then type command apk add --no-cache curl to install curl. However, this will be removed/roll-backed if you recreate the container.

If you want this to be persist, 1) build your own docker image with packages you wish to include , 2) use docker commit feature, or 3) use cont.init-d. The last one is described in README.md

Thank you very much for your help, the problem has been solved, I manually installed the curl command in the container.