dalben Posted July 20, 2017 Share Posted July 20, 2017 Can someone help me to make rsync available in a docker container. I have a script I am firing off from transmission and it uses rsync. rsync is in /usr/bin/ of unraid, but it's not available in the container. I've tried copying the rsync binary to other places like the appdata folder for transmission but that hasn't worked. Any clues greatly appreciated Quote Link to comment
dalben Posted July 22, 2017 Author Share Posted July 22, 2017 Anyone ? I've tried a few things like installing an rsync docker but still can't get ti to work. What would I need to do to have rysnc running from the /config which is on my cache drive ? Quote Link to comment
Squid Posted July 22, 2017 Share Posted July 22, 2017 Map /usr/bin to a folder in the container. Have your script directly reference the appropriate path. You May need to map / insteadSent from my LG-D852 using Tapatalk Quote Link to comment
dalben Posted July 23, 2017 Author Share Posted July 23, 2017 On 22/07/2017 at 7:42 PM, Squid said: Map /usr/bin to a folder in the container. Have your script directly reference the appropriate path. You May need to map / instead Sent from my LG-D852 using Tapatalk Thanks. That makes sense. Let me give it a shot later on. Quote Link to comment
dalben Posted July 24, 2017 Author Share Posted July 24, 2017 Nope, no go. /rsync in container mapped to /usr/bin/ When I exec into the container, it i can see this. root@70f8c367696d:/$ rsync bash: rsync: command not found root@70f8c367696d:/$ cd rsync root@70f8c367696d:/rsync$ rsync bash: rsync: command not found root@70f8c367696d:/rsync$ ls rsync rsync root@70f8c367696d:/rsync$ As seeing what I know about linux I found in a corn flakes box, I've reached the limit of my trouble shooting. Quote Link to comment
aptalca Posted July 24, 2017 Share Posted July 24, 2017 Which transmission container? You can install it in that container from the package manager (apt install rsync for ubuntu), or ask the dev of that container image to add it Quote Link to comment
dalben Posted July 25, 2017 Author Share Posted July 25, 2017 6 hours ago, aptalca said: Which transmission container? You can install it in that container from the package manager (apt install rsync for ubuntu), or ask the dev of that container image to add it Yours I can try to do it manually, but will that mean I need to reinstall every time there is an update? Or if you drop rsync into your next update, I am happy to wait and will be eternally grateful Quote Link to comment
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.