Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
The out of the box experience of the containerized nextcloud is actually really bad. Had it running bare metal with apache and it was way faster.
But have you tried the official AIO docker compose file? Basically copy the redis stuff from there and you are good to go.
Containers run on "bare metal".
More specifically, the container is run on bare metal if the host is running on bare metal. You are correct in this thread, not sure why you're being downvoted. I guess people don't know what virtualization technology is or when it is used.
If the nextcloud container is slow, it's for reasons other than virtualization.
LaNgUaGe EvOlVeS. 🙄
Wait what? I'm saying what you said is correct. Am I the one who's confused here?
Edit: oh maybe you meant that's the excuse people give for being wrong? lol
Yes, that's the excuse I've been getting. Sorry to be vague.
Not in this context. Bare metal means all packages and services installed and running directly on the host, not through docker/lxc/vms
Yes - in this context containers run on bare metal. They run directly on the host. They even show up in the host's process list with PIDs. There is no virtual machine between an executable running in a docker image and the CPU on the host.
Have you read my comment? It's about where the packages and services are installed.
In this case, they're installed in the container, not on the host
No. Your packages and services could be on a network share on the other side of the world, but where they are run is what matters here. Processes are always loaded into, and run from main memory.
"Running on bare metal" refers to whether the CPU the process is being run on is emulated/virtualized (ex. via Intel VT-x) or not.
A VM uses virtualization to run an OS, and the processes are running within that OS, thus neither is running on bare metal. But the purpose of containers is to run them wherever your host OS is running. So if your host is on bare metal, then the container is too. You are not emulating or virtualizing any hardware.
Here's an article explaining the difference in more detail if needed.
What is it you think the "metal" is in in the phrase "running on bare metal?"
Your comment is irrelevant. Who cares in what directory or disk image the packages are installed? If I run in a "chroot jail" am I not "running on bare metal?" What if I include a library in /opt/application/lib? Does it matter if the binaries are on an NFS share? This is all irrelevant.
The phrase means to be not running in any emulation. To answer my question above - the "metal" is the CPU (edit: and other hardware).
edit2: I mean - it's the defining characteristic of containers that they execute on bare metal unlike VMs and (arguably - I won't get into it) hypervisors. There is no hardware abstraction at all. They just run natively.
It's just what it means in this specific context.
They're not running directly on the host, with directly meaning directly.
If you go by definition, I agree with you, but the definition is not always the thing to go off of.
Is docker virtualized or otherwise emulating something? It's just a way to package things, like an installer? Then it's bare metal.
I had to look this up too, I thought docker containers were virtualized.
"I used the wrong words but I feel like justifying them as right."
This is that whole "I know literally means literally the opposite of what I meant but deal with it" bullshit. Whatever, I'll not argue with such lunacy. Words mean whatever you want them to.
Words evolve, and sometimes, they gain new meanings. "Bare metal" is not a scientific terms, and so it can be bent depending on the context.
You can either accept that or not, it doesn't change the fact that that's what it now can mean.
He look - I drive a car with a V8! I mean I know it only has 4 cylinders in-line but I count them twice and I like the letter "V" so in this specific context it's a V8!