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
merged 1 commit into from Aug 10, 2015
Jump to file or symbol
Failed to load files and symbols.
+2 −0
Diff settings

Always

Just for now

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

This comment has been minimized.

@misterbisson

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.

@misterbisson

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();