Recap regarding problems understanding and using anything other than the command line for managing and deploying Docker containers

I'm using Windows. I found my saved AI notes (from May), and some were from Notebook-LM which has some connection to Gemini (maybe Gemini is Notebook-LM's successor?) and others from Perplexity. Perplexity did help me get Docker installed in the first place (it wasn't easy, as I had to find out settings to enable, pick which linux image to use, back out and undo some things that didn't work, etc. I kept telling it the error messages I was getting & it gave me things to try).

I'm not really a video person for instruction unless I'm trying to take some physical object apart or put it together. For puter stuff I prefer words and screen shots. It's possible I tried looking at some videos early on & gave up on them, since they didn't really explain what I needed explained. I've probably blocked out a lot of it due to the trauma! Just for fun I asked Notebook LM to make a video for me. Watching it reinforced my preference for text explanations.

In the end, I just wish there was a document or collection of documents - a good old-fashioned manual I could sit down with, make notes on, look things up in, etc. I should probably go back and read the notebook that NotebookLM created to see if I can understand it any better now that I've been messing with this stuff for a few months.

For password-reset, it pointed me to yet another Docker container, digging up some yml files, and went on and on about containers, bind mounts, volumes - stuff I'd need to devote a considerable amount of time to sort through & make sense of. I may yet try to do so, but it seems like quite a bit of trouble just to run a couple of apps. So at this point I'm in the "not broken, don't try to fix it" mode so far as Docker & Portainer go. I've been sufficiently traumatized by Portainer that I'm not eager to give it another chance if I can possibly avoid it.

To get back to the original topic, of getting the upcoming version of FC with its new capture mode set up to use GPU, I'd still like to figure out how to either add the needed string to the "docker run" command when I update or to "convert" to using Docker Compose (and how that would actually work).

Perplexity says, in regard to compose-syntax vs. run-syntax, if the new option is an environment variable, I should include in the "run" command a string like:

-e SOME_OPTION=value

so possibly something like:

-e Use_GPU=True

Does that look correct?

Hardware acceleration for Docker containers, via the GPU, is limited in availability for Windows users. I'd recommend you hold off attempting to implement it until we have more data on which platforms it will work with, and which it won't.

It's really unfortunate that you had this bad experience out-of-the-gate using an excellent tool like Portainer. I've found that having a WebUI tends to bring the world of Docker containers into much better focus for those that use them.

Windows just makes everything more complicated than it needs to be. A workaround on top of a workaround doesn't always solve a problem. My favorite, fundamental issue, is the inability to delete an open file. Makes system administrator life a nightmare.

Would a site like this help at all? This was whipped up with very little effort and direction. I'm just trying to gauge if having a page like this would help those having trouble with docker, understand it more. And if not, what would, and what's bad about the page (besides it's length lol).

It's amazing how simple AND complicated Docker can be.

1 Like

This is very helpful, and the formatting, color-coding, etc. really help. Thanks for putting it together!

Here are some suggestions for further clarification. I don't see any issue with the length of the material (short isn't always sweet!). Suggestions are in the order in which the referenced material appears on the page:

“And many Channels users run their DVR on a Mac, a Synology or QNAP NAS, a Raspberry Pi, or a Linux box, so the developer would need to make an installer for each of those as well.”

While I’ve heard the term “Synology,” I have no idea what a “QNAP NAS” system is. And I think for the purpose of this tutorial, it’s not necessary.

Suggested edit:

“And many Channels users run their DVR on a variety of systems, including Macs, Linux boxes, and others, so the developer would need to make an installer for each of those as well.”

Section on “image”: It would be helpful to also tell readers how to get a different version instead of the latest, in case they need to roll back. Would you just enter the desired version number in place of “latest”?

Port: Suggest noting the difference between running from localhost vs. running from another machine on your network.

“One or two projects” section: I thought that although “docker run… “ worked to install stuff, you needed to do more in order to update something previously installed. It would help to clarify. I see that you cover that later in the page, so suggest linking to that portion from this one, e.g.

"After initial installation, see for how to perform those actions."

“You’d rather click than type” section: Although it's easy to see how to start/stop containers from Docker Desktop, is there a way to do installations or updates from there? Including it with the Run and Compose info suggests that you can do the same sorts of things from Desktop as you can do with Run or Compose, but how you might do that (if you can) is a mystery.

“Setup on Windows” section
I had a ton of trouble getting Docker Desktop set up on my Windows 11 box, and spent seeming hours with AI and Google to sort out the problem. Is it possible to add a section on what to do to ready a system to have Docker installed on it? I recall checking/setting stuff in the bios, digging through system settings, and the like. Also, you need to install some kind of Linux distro, but I had no idea which one I should use (and no longer remember which one I ended up with and why – may have been at random or I picked a name I’d heard, like Ubuntu).

Under “common problems and their fixes…Docker can’t connect” change the statement

“Step 3 of the setup stops this from happening after a reboot”

to a repetition of and/or link to the step that was likely missed. I was initially unsure whether “stops this from happening” meant “stops Docker from starting after a reboot “ or “stops Docker from not starting after a reboot.”

“The add-on can’t find my Channels DVR” is a bit confusing:

Use the DVR’s network address instead

– in what context? That makes sense in the browser, but I don’t know where in Docker Desktop you would use hteep://host.d ocker.internal:8889.

“My settings disappeared…” section. Suggest something concrete the user can do to fix the issue after locating the applicable volume. I assume that involves redoing the run, compose, or portainer action, but a more explicit instruction would be a help here.

That is a nice explanation of docker and people with a computer background should get it. I suspect it's way beyond the average person though it might help a few.

I agree, but I’m not sure what could possibly help that. At a certain point, some things just require a base knowledge.

1 Like

That's why I made the feature suggestion to spin up docker and containers for people. I realize that's a lot of work.

I have a question for the community related to this. Would a guided Windows installer that would install Docker Engine with Dockge to handle compose stacks be a good option?

Docker Desktop uses more ram and resources than it needs to for what it actually does. Portainer is a really good heavyweight manager, but can be overwhelming for people new to Docker. Dockge is a nice middle ground manager that can handle stacks.

@Bobby_Vaughn Would you be willing to partner with me on a project that I've already developed:

The idea with this, is that with a single PowerShell command, an installer environment can be launched that will only contain projects related to Channels DVR. Candidly, I feel like there are too many duplicate projects right now in the CDVR universe, and I'd really like to see more of us contribute to existing projects instead of creating something new. Open Source is at its best with "many hands".

No kidding! Many of the community developers are trying to solve the same problems. It's creating another layer of complexity and confusion.

What you are describing is what I've been talking about though I think there needs to be multiple options in the project:

  • Spin everything up as one package
  • Spin up the addons for an existing Channels DVR. Possibly add them to Channels DVR for the user though I'm not convinced this is a good idea based on my experiences with some of the projects that do this. I'd rather see clear instructions how to add the addons.

That would be best. Maintaining a single project and not adding more confusion to the already congested amount of projects available. I must have missed or forgotten about this project. Looks amazing. :thinking:

Spinning up containers is absolutely not something we would ever do or maintain.

Home Assistant essentially does this with their "add-ons" but only in their HassOS distro, which is essentially a linux OS image that includes a docker manager built in. It's all just hidden and magic.

They do not support this if you host it yourself. Because it'd mean building a docker manager, which no one building software would ever do as a side project.

I've added you as a collaborator on GitHub for this project, which will give you full rights. It's been built around being able to add all Windows-specific CDVR add-ons (mostly from you), plus the behind the scenes building blocks needed to install Docker Projects.

Portainer and OliveTin-for-Channels can be installed (which includes Project One-Click for installing every known CDVR-related Docker project), with the only installation requirement being setting a Portainer password.

It's all based on ChrisTitusTech's excellent WinUtil project.

I will take a look at it and get familiar with it. Thank you.

Feel free to take it in whatever direction you want. We should remove Clicker, add Charon, and fix recognition of whether WSL is installed or not -- but otherwise I think it's in decent order and ready for whatever enhancements you'd like to add.

We need to beef up the documentation too, both on GitHub and here in the forum.

I understand your reasoning. It looks like there is a collaboration starting with top talent. If it works out it will be great for the community and it leaves you and the other developers to concentrate on the DVR.

Here's the latest WinUtil-for-Channels, which @Bobby_Vaughn and I will endeavor to keep up-to-date with one-click style CDVR-related installers for Windows users:

You can run it using the following PowerShell command:

irm https://raw.githubusercontent.com/bnhf/cdvr-winutil/main/winutil.ps1 | iex

This grabs the latest version of the script from GitHub and runs it, so there's nothing to install to use it, and you'll always be running the most recent version.

This is a forward facing project, meaning that we will not be spending much (if any) time testing with outdated versions of Windows. In the age of AI, being out of date is synonymous with being exposed.

WinUtil-for-Channels also gives you a one-click installer for OliveTin-for-Channels which includes Project One-Click. With that installed, every known CDVR-related Docker project can be installed:

As someone with a computer background not including Docker (cp/m --> MSDOS --> Windows), I found it very helpful.

I like the idea of just having clear instructions rather than simply having all available add-ons installed for me (assuming that's what you mean). I prefer to pick & choose my add-ons.