News for hackers. Stuff that matters.
Re:Docker without Docker by lmm on Friday April 09, 2021 @01:21AM (#26746987)
This is the opposite of what I was hoping for from the title, because I'm working in kind of the opposite environment: everyone is trusted, we don't need strong isolation, but multiplexing processes onto hardware is tricky (and currently handled mainly through ansible which feels pretty hacky).

Is anyone doing orchestration without containers? I'm working on the JVM so we already have well-isolated single-file deployables, but orchestrating which of them get run on which server is still significantly tricky. I'd love to be able to use the orchestration part of something like Kubernetes without having to worry about all the extra complexity of docker/containers.

Re:Docker without Docker by dorianmonnier on Friday April 09, 2021 @01:25AM (#26747005)
HashiCorp Nomad maybe ? I don't use it but I know it can orchestrate applications of any type (not only containers)

https://www.nomadproject.io

Re:Docker without Docker by mrkurt on Friday April 09, 2021 @01:24AM (#26747002)
Check out the Nomad exec driver. It can orchestrate processes outside of containers, and even knows how to pull builds from a URL. Nomad is great.

https://www.nomadproject.io/docs/drivers/exec

Re:Docker without Docker by lmm on Friday April 09, 2021 @01:31AM (#26747030)
Sounds like that's oriented towards using a chroot and a cgroups namespace which is exactly the kind of thing I'm trying to avoid (given how it complicates debugging etc.). But maybe I can use their "java driver" and make sure nomad doesn't run as root?
Re:Docker without Docker by jen20 on Friday April 09, 2021 @01:34AM (#26747045)
Look at raw-exec too - that will avoid cgroups and friends.
Re:Docker without Docker by mrkurt on Friday April 09, 2021 @01:34AM (#26747043)
I haven't tried the Java driver, but it's worth a shot. They also have "raw_exec" which might be helpful.
Re:Docker without Docker by hoophoop on Friday April 09, 2021 @04:48AM (#26748163)
What do you need exactly? OS packages or tarballs are more than enough most of the time.
Re:Docker without Docker by lmm on Friday April 09, 2021 @09:42AM (#26750454)
I'm looking for "I have these machines and I have these programs (with roughly these CPU/memory requirements) and I'd like to deploy x copies of process y and z copies of process w, sort it out".
Re:Docker without Docker by Spivak on Friday April 09, 2021 @10:23AM (#26750939)
Sounds like nomad might be what you're looking for? They have good support for non-containerized workloads which ultimately just boil down to "if scheduled on this host run this process."