Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removes cgroup dependencies for triton #3

merged 1 commit into from Aug 10, 2015
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.


Just for now

@@ -103,6 +103,7 @@ Try<Docker*> Docker::create(const string& path, bool validate)
return docker;


This comment has been minimized.

Copy link

misterbisson Oct 16, 2015


Remove the assumption of cgroups in the Docker containerizer.

Mesos on Triton uses our elastic Docker service that treats the entire data center as a single Docker host, and doesn't run tasks in containers in virtual machines. Containers on Joyent use secure SmartOS zones, rather than Linux namespaces or cgroups to separate tasks.

#ifdef __linux__
// Make sure that cgroups are mounted, and at least the 'cpu'
// subsystem is attached.
@@ -115,6 +116,7 @@ Try<Docker*> Docker::create(const string& path, bool validate)
"to mount cgroups manually");
#endif // __linux__

// Validate the version (and that we can use Docker at all).
Future<Version> version = docker->version();
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.