frakman1

Community Developer
  • Posts

    169
  • Joined

  • Last visited

Everything posted by frakman1

  1. Is there any plan to introduce this? From what I understand, the docker run command supports this easily with something like: docker run -p 7000-8000:7000-8000 but it doesn't sound like the docker template in Unraid allows me to do this.
  2. I followed the MacInABox video and created my Mojave VM that way. However, I have the same problem as the OP with not being able to get Docker to run in the VM. I tried enabling Virtualization (from this post) in UnRaid using the boot config parameter kvm-intel.nested=1 and adding this to the VM's xml file under <cpu> <feature policy='require' name='vmx'/> but couldn't get it to work. My Settings: UNRAID: 6.8.3 CPU: Intel® Xeon® CPU E5-2630 v2 @2.60GHz UNRAID kvm_intel setting # cat /sys/module/kvm_intel/parameters/nested Y UNRAID Syslinux configuration: kernel /bzimage append vfio-pci.ids=1b73:1100 kvm-intel.nested=1 initrd=/bzroot MojaveVM XML setting: <cpu mode='custom' match='exact' check='none'> <model fallback='forbid'>qemu64</model> <feature policy='require' name='vmx'/> </cpu> <qemu:arg value='Penryn,vendor=GenuineIntel,kvm=on,vmx,rdtscp,+invtsc,+avx,+avx2,+aes,+xsave,+xsaveopt,+ssse3,+sse4_2,+popcnt,vmware-cpuid-freq=on,'/> Mojave VM: (note that VMX is enabled but hv_support is still 0) $ sysctl machdep.cpu.features machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH MMX FXSR SSE SSE2 SSE3 VMX SSSE3 CX16 SSE4.1 SSE4.2 x2APIC POPCNT AES VMM XSAVE OSXSAVE AVX1.0 $ sysctl kern.hv_support kern.hv_support: 0 I don't know what else to do. I thought this should work since my host is an Intel CPU.
  3. I have the opposite problem. I can login via the WebUI with my password but it won't let me login with that password via SSH from its Terminal (if I do ssh root@localhost). root@Tower:~# ssh localhost root@localhost's password: Permission denied, please try again. I recently setup passwordless SSH and added my key to /root/.ssh/authorized_keys. Althought I can SSH remotely without a password, I still get asked for a password if I try to set up a ssh tunnel from a remote PC like this: $sudo ssh -fNL 127.0.0.2:58846:localhost:58846 <unraid-ip> The authenticity of host '<unraid-ip> (<unraid-ip>)' can't be established. RSA key fingerprint is SHA256:xxxxxxx. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '<unraid-ip>' (RSA) to the list of known hosts. root@<unraid-ip>'s password: Permission denied, please try again. I don't know what else to do.
  4. Very nice. I was just concerned with the state of the container that's all. Wasn't sure if it was meant to remain "Up" or if it should "Exit". Maybe you can include that in the Description to remove any doubt.
  5. @ich777 Is the "Pushover-On-Start" container supposed to exit as soon as it finishes the startsup and sending of the notification?
  6. I found a different workaround. Rather than trying to enable the HTTP REST API by changing the dockerd statup option, I decided to use the built-in feature of the docker client to use the ssh protocol to access a remote docker server. This requires that you've already setup public/private key ssh access to your UnRAID server (details here) Once that is working, I can just run this from my client: $docker -H ssh://root@tower:22 ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS blahh blah
  7. For those of you who followed these instructions but still get prompted for a password, I found that I had to change the permissions in the /root/.ssh folder to make the ssh server happy. It doesn't complain loudly so I had to look at /var/log/syslog to find the error. Run this on the UnRAID server to fix your file permissions. It will do the "right" thing: chmod -R -v g-rwx,o-rwx /root/.ssh Also, if you need to restart the ssh server, do this: /etc/rc.d/rc.sshd restart
  8. OK. I found the bulk of it here: /etc/rc.d/rc.docker and some config options here: /boot/config/docker.cfg No mention of any IP port binding though
  9. I read that the docker daemon has to be bound to an IP/port socket like this: /usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2376 Can someone point me to where the docker config/startup files are?
  10. I found the following ports using netstat but they don't look like the standard port numbers mentioned in the documentation (port 2375) and they are all ipv6. @Squid Any ideas how to access the REST API remotely? # netstat -tulpn | grep LISTEN | grep docker tcp6 0 0 :::6090 :::* LISTEN 20241/docker-proxy tcp6 0 0 :::8112 :::* LISTEN 19128/docker-proxy tcp6 0 0 :::8118 :::* LISTEN 19115/docker-proxy tcp6 0 0 :::58846 :::* LISTEN 19102/docker-proxy tcp6 0 0 :::6080 :::* LISTEN 20255/docker-proxy tcp6 0 0 :::58946 :::* LISTEN 19074/docker-proxy
  11. OK. I found something that works here. Installed it like this and it worked. # wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/n/net-tools-1.60.20120726git-x86_64-1.txz # upgradepkg --install-new net-tools-1.60.20120726git-x86_64-1.txz
  12. I'd like to try using the python docker library to access the UnRAID server's docker API. I can't figure out what endpoint to give it. What port number do I use in the format tcp://<ip>:<port>
  13. Thanks. I see it now. It opens a popup to that URL and works (displays the log) but if I enter that URL in a new tab, I get that DONE button. Weird:
  14. @Wisnaeme How do you get the scrolling logging.html page? When I try that, it just shows a DONE button and if I go to /log/syslog, it just downloads the syslog file.
  15. How/Where do I get netstat for UnRAID? I want to list the ports that the server is listening to. To clarify, I tried running netstat and it said no such file or directory. I tried installing a package I found online for slackware: upgradepkg --install-new net-tools-20181103_0eebece-i586-1.txz But I still get the same error. Can anyone please help me get netstat working? # netstat --help -bash: /bin/netstat: No such file or directory
  16. @Squid Can you please tell me what docker command I could run that returns the values in the table that gets displayed when I click on "Container SIze"? I want to be able to graph the output of this data over time to see which containers are growing. I've already used the "limit-log-files" extra parameter trick but still see the docker.img file growing over time. I've tried using "docker system df -v" among others but nothing has displayed a similar table as the "Container Size" one.
  17. Ahh yes. Sorry I missed that. Thank you for the reminder. That seems to have fixed it. Now I see entries in the log and results when I search. Thank you!
  18. Thanks for the tip. I don't have any restrictive router firewalls. My UnRAID server can talk to anything on the outside. I set that variable to 'true' and re-ran it. This is what my output log file looks like:
  19. I wanted to share my settings that finally got it to work with my brand new APC UPS. I bought this unit from Amazon. It's a 1500VA BX1500M model. The settings in the above posts didn't work for me. Ironically, the most obvious ones did. Just set both cable and type to USB and it will work. I have two servers on it which is probably why the runtime is only 17 minutes. I was hoping for more. Oh well.
  20. I let it run overnight but it still doesn't find anything. I looked at the Github page. Are you able to get it to work? If so, how? How does the docker container get this giant database of torrents? Do I need to provide some run parameter or is it baked in? Do I have to place a file in the appdata fole "/mnt/user/appdata/magnetico" ? I checked and there are already three databases there "database.sqlite3 database.sqlite3-shm database.sqlite3-wal" I keep getting this:
  21. @Nord Looks promising. I installed it and logged into the WebUI but anything I search for returns nothing. I tried searching for "ubuntu" like the screenshot on the github page shows and it returned nothing too. Am I missing something?
  22. Thanks. I didn't know that it was a plugin and not part of the core feature-set
  23. Well that was easy. Thank you for the tip and insight. Much appreciated. I didn't know that clicking on the mount point let me change its name. It's working now.