BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] docker Re: Corralling Processes on Linux
- Subject: [Discuss] docker Re: Corralling Processes on Linux
- From: richb at pioneer.ci.net (Rich Braun)
- Date: Mon, 22 Jan 2018 10:44:40 -0800
- In-reply-to: <mailman.5.1516554003.11219.discuss@blu.org>
- References: <mailman.5.1516554003.11219.discuss@blu.org>
Kent Borg <kentborg at borg.org> wrote: >> I am playing with lots of different processes >> communicating with each other, maybe some coming and going >> incrementally. I want the ability occasionally kill them all and >> start from a clean slate. Sure sounds like what you really want is Docker and/or Kubernetes. Cgroups is part of the mechanism used by containers (such as the original LXC) to isolate process groups but there's a whole open-source infrastructure that provide the tools that abstract out a lot of the difficult parts of what you want to do. Plain old docker engine is pretty easy to learn. Docker swarm isn't a lot harder. Kubernetes is harder to learn but has become a de facto standard for large-scale data center operation (simply because it's what Google uses to run its data centers, and the herd of IT admins has followed them to build private-cloud infra now that OpenStack's lost momentum). Why do I mention Kubernetes? It's built on top of the easy-to-learn Docker Engine which provides resource abstractions that include volume mounts, network attachments, an image-build procedure (Dockerfile) that just uses a shell script to define your content, and an image-run/stop command line interface. It sits on top of cgroups and a few other Linux-internal features, and makes the things you want to do really easy. If you don't yet know Docker, find a tutorial like this one and play with it locally: https://docker-curriculum.com/ If you have an old distro and don't want to go through the installation steps, you can even learn docker online with a pretty-cool split-screen live interactive tutorial: https://labs.play-with-docker.com/ -rich
- Prev by Date: [Discuss] AD/LDAP authentication
- Next by Date: [Discuss] BARC Agenda posted
- Previous by thread: [Discuss] AD/LDAP authentication
- Next by thread: [Discuss] BARC Agenda posted
- Index(es):