Comments (12)
We are working on the namespaces spec. It would be similar to resource limits but more restrictive in terms of nesting. We are trying to get other resources merged in first. Examples and documentation to follow soon.
from lmctfy.
Closing. It's mentioned in the roadmap.
We'll put the spec up soon.
We are also open to accepting implementation patches :)
from lmctfy.
Before anyone runs out to implement namespaces, or any other major feature,
I hope they talk to us to work out design :) I know that is a bit
idealistic...
On Thu, Oct 3, 2013 at 8:44 AM, Rohit Jnagal [email protected]:
Closing. It's mentioned in the roadmap.
We'll put the spec up soon.We are also open to accepting implementation patches :)
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-25631828
.
from lmctfy.
Any updates on namespaces?
from lmctfy.
As of 0.4.5 we have support for namespaces. There is still some on-going work in the area for full support. But basic support exits. Once we have full support we'll close this issue.
from lmctfy.
I notice there's now a nscon-tool. Is there any information about how you
are supposed to use it? Should I use "nscon create" inside a container?
// Magnus Holm
from lmctfy.
nscon
is an implementation detail of how we setup namespaces. You certainly can use it by itself but I'd recommend against it.
To enable namespaces what you're interested in taking a look at is the VirtualHostSpec in the ContainerSpec. Once you set that lmctfy will create a set of namespaces as part of the container.
For example:
$ lmctfy create test "virtual_host:{}"
Creates a container with PID and mount namespaces (and no isolation since we didn't specify CPU or memory). Then we can run bash inside:
$ lmctfy run test /bin/bash
You'll note that the only other process in the container is lmctfy-nsinit
. Its somewhat hard to configure additional namespaces and we're working on getting all those enabled in the coming weeks. Is there any particular namespace or usecase you're interested in?
from lmctfy.
My use case is a Docker-like system where each container can have their own root filesystem.
from lmctfy.
In that case you'll definitely be interested in using a Virtual Host. The main piece that is missing there is related to the filesystem (the actual chroot/pivot_root). That should be ready next week.
from lmctfy.
Hey Victor could this be used for a Docker execution driver?
On Thursday, May 1, 2014, Victor Marmol [email protected] wrote:
In that case you'll definitely be interested in using a Virtual Host. The
main piece that is missing there is related to the filesystem (the actual
chroot/pivot_root). That should be ready next week.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-41916904
.
from lmctfy.
There is actually a PR for that :)
We'd probably need to rebase it since the execdriver interface has changed a bit, but that PR has probably 80% of the Docker feature set through lmctfy.
from lmctfy.
nice :)
On Thu, May 1, 2014 at 10:56 AM, Victor Marmol [email protected]:
There is actually a PR for that :)
We'd probably need to rebase it since the execdriver interface has changed
a bit, but that PR has probably 80% of the Docker feature set through
lmctfy.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-41936137
.
from lmctfy.
Related Issues (17)
- Create proper 0.2.0 release HOT 1
- systemd and future changes in the kernel HOT 1
- Full ContainerSpec documentation HOT 2
- Duplicate SplitStringUsing etc. HOT 2
- Document missing dependencies
- Cannot create containers
- Please tag the 0.5.0 release HOT 1
- lmctfy init fails HOT 2
- swap_limit semantics are confusing
- Failure to create container can leave behind state requiring manual intervention HOT 1
- Using memory controller when swap accounting is disabled HOT 3
- install script fails HOT 1
- where is latest lmctfy? HOT 2
- Please tag 0.1.0 HOT 1
- Not really an issue... HOT 2
- Issues with Debian Wheezy HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lmctfy.