www_creedthoughts Posted December 5, 2016 Share Posted December 5, 2016 Hi all, I have Hamachi Logmein running in a docker container, but it has no webui and no "Edit" menu in the dropdown list when clicking on the Hamachi icon. There is currently one volume mapping: /config <-> /mnt/cache/appdata/Hamachi/ However I'd like to change that mapping to: /config <-> /mnt/disks/TemporarySSD/Docker/Hamachi (Docker) This change has to be done in the command line, but I'm not confident in my skills to make the change. Note, the name of the Logmein docker is simply "Hamachi". Can anyone walk me through the process? I can't imagine its overly difficult. Thank you in advance! Quote Link to comment
trurl Posted December 5, 2016 Share Posted December 5, 2016 I don't think there is any way to change volume mappings after the docker starts. That would be a serious security hole if you could. What exactly makes you think this is something you need to do? Quote Link to comment
trurl Posted December 5, 2016 Share Posted December 5, 2016 If all you are trying to accomplish is changing the location of the config, just click on the docker, edit the mapping, and apply the change to restart the docker with the new mapping. Quote Link to comment
www_creedthoughts Posted December 5, 2016 Author Share Posted December 5, 2016 I have every other docker container running on a solid state drive outside of the array. The Hamachi docker works just fine on the cache drive, but I'd like it to be consistent and store all dockers on the solid state, partially because the cache drive spins up whenever I use Hamachi. I'd like to change the location of the config, but there is no way to edit the mapping when I click on the docker. See the attached photo. Currently I'm thinking that I remove the docker container, and then readd it with the correct config location. I'm just concerned that it might not work correctly anymore, especially because the initial installation procedure was incredibly difficult since the container isn't actively updated or compatible anymore. Quote Link to comment
CHBMB Posted December 5, 2016 Share Posted December 5, 2016 Be helpful to post what your run command is currently and then I can tell you what to change it to. Quote Link to comment
Squid Posted December 5, 2016 Share Posted December 5, 2016 Also I believe that the reason you don't see an edit option is because you added the app via the command line. Remove the app then Add it via add container button and fill out the appropriate information Sent from my LG-D852 using Tapatalk Quote Link to comment
www_creedthoughts Posted December 6, 2016 Author Share Posted December 6, 2016 Thank you all for your help! I discovered out how to do this thanks to your helpful words. I'd like to document how I completed it, partially just for me and partially for anyone else who may be trying this. Note: I initially installed the docker via command line with the following instruction (source: http://lime-technology.com/forum/index.php?topic=39209.msg424486#msg424486): docker run -d --name="Hamachi" --net="host" --privileged="true" -e ACCOUNT="[email protected]" -v "/mnt/cache/Apps/Hamachi/":"/config":rw -v "/etc/localtime":"/etc/localtime":ro gfjardim/hamachi I accidentally forgot to change the "config" mapping and wanted it on a different drive other than the cache drive. These are the steps to move it to the other drive. First, I copied all of the config files from the existing Hamachi installation location to a backup. As per Squid's instruction, I removed the docker that I created via command line. I then recreated the docker using the webui and specified the following parameters when creating it. I had to manually create the variable "ACCOUNT" and path "/config". Name: Hamachi Repository: gfjardim/hamachi Network type: Host Priveleged: on Container variable "ACCOUNT": [email protected] Container path "/config": /mnt/disks/TemporarySSD/Docker/Hamachi (Docker)/ Then I created the docker, and copied the files I backed up earlier to my new installation location and overwrote the existing ones. Those steps should allow you to move your docker, and by creating it via the webui, you can now change the container paths without headache. Thanks again everyone for your help! Quote Link to comment
CHBMB Posted December 6, 2016 Share Posted December 6, 2016 Like Squid said, if you added it via Community Applications then you'll make a template for it which you can use in the future. Quote Link to comment
CHBMB Posted December 6, 2016 Share Posted December 6, 2016 Made a video of how to install in Community Applications, so you can edit the template via the webui. EDIT: Damn, just seen you figured it out anyways.... Quote Link to comment
www_creedthoughts Posted December 7, 2016 Author Share Posted December 7, 2016 Well I really really appreciate your efforts to help me CHBMB, I really do! Hopefully, someone else will stumble upon this page and be helped by your video! Thanks again! Quote Link to comment
shanelovell Posted March 27, 2017 Share Posted March 27, 2017 Thanks Guys, I am a very new user to Unraid. My son and I built a 30tb server for the purpose of hosting a home media server. We still have and are using a Netgear NV+ v2 that I am looking to transfer all the data to the new Unraid box. Thanks for the invaluable information Quote Link to comment
CHBMB Posted March 27, 2017 Share Posted March 27, 2017 @shanelovell I'm sorry, what's that got to do with this thread? Quote Link to comment
shanelovell Posted March 30, 2017 Share Posted March 30, 2017 On 3/27/2017 at 10:51 AM, CHBMB said: @shanelovell I'm sorry, what's that got to do with this thread? I watched the video for installing Hamachi within the community apps. Quote Link to comment
CHBMB Posted March 30, 2017 Share Posted March 30, 2017 3 hours ago, shanelovell said: I watched the video for installing Hamachi within the community apps. Oh gotcha! I was expecting a question...... My bad... 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.