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)
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.
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?
Look at raw-exec too - that will avoid cgroups and friends.
I haven't tried the Java driver, but it's worth a shot. They also have "raw_exec" which might be helpful.
What do you need exactly? OS packages or tarballs are more than enough most of the time.
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".
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.