Jump to content

jkluch

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

1 Neutral

About jkluch

  • Rank
    Newbie

Recent Profile Visitors

179 profile views
  1. jkluch

    [Solved] docker swarm not working.

    Hey, sorry for the late reply.. The fix isn't to install package dependencies.. you have to update the kernel and enable some modules that Unraid doesn't have enabled by default for some reason. This link: https://wiki.unraid.net/Building_a_custom_kernel was used as a guide to update the kernel. I used this https://raw.githubusercontent.com/CHBMB/Unraid-DVB/master/build_scripts/kernel-compile-module.sh to work out how the update process works. The check-config.sh outputs the kernel modules needed for a fully functioning docker. I'm not an expert on the kernel so honestly I don't know why a lot of the optional modules are optional or what they do for the most part. I do know that CONFIG_IP_VS is required for swarm to function properly. I had notes I wrote for when I did this the last time.. I just put them on github here: https://github.com/jkluch/unraid-docker-swarm I do not suggest following this guide unless you understand what the commands are doing.. or at the very least you're ok with breaking your install.
  2. jkluch

    How to unzip and zip bzroot

    I wanted to do this too but I'm running into some issues.. and all the documentation for this is out of date at this point. It looks like bzroot is just a straight cpio archive so no need to use xzcat before the extract.. problem is the only thing in there is kernel/x86/microcode/AuthenticAMD.bin and kernel/x86/microcode/GenuineIntel.bin I'm not sure why those two files are the only things extracting.. I'm not getting any errors from cpio but it's only extracting 3468 blocks.
  3. jkluch

    [Solved] docker swarm not working.

    Finally got it working.. The unRAID kernel is missing configs needed for docker swarm to function. I had to rebuild /boot/bzimage and /boot/bzmodules Used the following as guides: https://wiki.gentoo.org/wiki/Docker#Kernel https://github.com/moby/moby/blob/master/contrib/check-config.sh $ curl https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh > check-config.sh $ bash ./check-config.sh I was able to determine which modules were missing that are needed for full docker functionality https://wiki.unraid.net/Building_a_custom_kernel https://raw.githubusercontent.com/CHBMB/Unraid-DVB/master/build_scripts/kernel-compile-module.sh For whatever reason I couldn't get unraid to start if my syslinux.cfg was set as kernel /bzimage-new append initrd=/bzroot-new renaming the files to the defaults: kernel /bzimage append initrd=/bzroot worked but I didn't want to do this in case the bzimage and bzroot were corrupt. Maybe bzimage-new isn't a valid filename?
  4. Oh woops. No I didn't mean to name it that.. I'll changed it to AutoSub in the next few days and send you a pm when I switch it. Good to hear it's working out so far for you.
  5. Hey.. I wrote something up for you. https://github.com/jkluch/docker-autosub Add that to the template repositories at the bottom of the docker tab.. I never used this app before and I didn't test the docker container beyond getting the pages to load. Let me know if it works for you or if you have any questions about it.
  6. jkluch

    [Solved] docker swarm not working.

    I'm not really looking to manage my containers from the GUI and I can run single containers just fine. I'm trying to use docker swarm.
  7. jkluch

    [Solved] docker swarm not working.

    Yeah, and I've installed docker-compose even though I'm not sure it's required when using the 'docker stack' command. The containers, service, and network all come up and look fine.. I just can't access them on the ports that they're set to on the network.
  8. I'm having no trouble running single docker containers but I've been following tutorials for docker and I ran into one that I can't get working. I haven't been able to find anyone else with this issue, but I also haven't seen evidence of anyone using swarm on unraid either. Has anybody tried either of these apps and gotten them to work? this example voting app is one https://github.com/dockersamples/example-voting-app docker swarm init docker stack deploy --compose-file docker-stack.yml vote The app should be running on port 5000 but I can't get that to load. The other example is from this tutorial: https://docs.docker.com/get-started/part2/ (part 2 is without using swarm) (part 3 you use swarm, I changed the port value in the yml file to 4000:80 since unraid uses 80)