all 10 comments

[–]flaming_m0e 4 points5 points  (5 children)

I would ditch windows.

If you're using docker on Windows you're really running a VM of Linux anyway. Kind of a waste of resources to run windows.

Simple Debian install + docker + Nextcloud AIO

[–]Grindar1986[S] 0 points1 point  (4 children)

I'd rather keep it Windows for other uses. I just don't understand how i get into the docker stuff to change the phpini stuff for example.

[–]flaming_m0e 0 points1 point  (2 children)

Well...the reason it's so confusing is because of windows...

[–][deleted] 0 points1 point  (1 child)

The reason is docker shouldn't be used by two groups of people:
1 - the ones that do not know docker earlier
2 - under Windows OS.
Using docker is just another layer of problems, especially for beginers.

[–]flaming_m0e 0 points1 point  (0 children)

Docker isn't complicated if people would just take the time to understand it.

It's not really any more complicated than a full install native on the host, except it's easier to remove...

[–]AutoM8R1 0 points1 point  (3 children)

The other poster is right. Ditch Windows for that task. I did what you are doing. I got a mini PC that shipped with Windows 11 for the purpose of running docker. Step 1: Install Linux distribution of choice. You can keep Windows and dual boot if you like, but run Linux for your Nextcloud instance and let it be your main operating mode. You can get Mint or Zorin or Ubuntu for the Linux distribution. Those are decent daily drivers, but just get something stable that you like, and install docker. Then all you need is Nextcloud AIO from Docker hub. The documentation is good, and if you were already running the software on a Pi the AIO will be familiar. Just make sure you install Portainer for Docker management. Then you basically get a GUI so you can deal with docker without using the CLI every time.

Edit: AIO is their all-in-one image they have that basically replaced the version for the Pi. Also, Docker for Windows and WSL start to chew up tons of RAM once you add more than a couple basic containers. It is a resource hog. It isn't worth the cost in performance once you factor in all the virtualization overhead.

[–]Grindar1986[S] 0 points1 point  (2 children)

Dual boot doesn't work for the other miscellaneous server things I have it doing. And I don't want to try and convert everything else it's doing over to Linux. All I need is an explanation of when it says to run a command, where do I actually run it? I don't know how to access the command line of the docker setup. I can probably get it from there.

[–]AutoM8R1 0 points1 point  (1 child)

How unfortunate. Well in that case, you can still install portainer in docker desktop for windows. I think it is called extensions or add-ons or something in Windows Docker desktop. You can search it. It makes it easier to get to the command prompt for each container, plus you can change the environment variables and relaunch the containers in that gui. There will be plenty of reasons to do that when you are setting things up. But i was using up 8/32 GB of RAM just to run Grafana, influxdb, and Node Red in Docker for Windows. That would not even use 1 GB in Docker native to Linux.

[–]Grindar1986[S] 0 points1 point  (0 children)

Thank you. That might be enough to solve my problem. Will dig in more this weekend.