Configure Docker with Cluster Store

Description

Docker 1.9+ can be configured to use a Cluster store, allowing it to be used with custom network drivers (using docker libnetwork).

DC/OS already has a highly available datastore: zookeeper.

DC/OS should configure the docker daemon on each agent to use zookeeper as its cluster store. This would enable the use of custom docker networks in DC/OS.

Activity

Cody Maloney 
October 5, 2016 at 1:18 AM

No comment in months, re-open if there's still an issue / the provided workaround isn't good enough

Cody Maloney 
July 21, 2016 at 10:45 AM

The DC/OS On-prem install docs are at: https://dcos.io/docs/1.7/administration/installing/custom/system-requirements/

With the "Advanced" on-premise installer it's the system administrator who is deploying DC/OS who gets to setup the basic requirements (like docker), so it can be configured however the sysadmin wants (With some very basic constraints to ensure DC/OS will function properly)

Daniel Osborne 
June 29, 2016 at 7:19 PM

Can you elaborate (or link to) how a user would configure docker during an on-prem install of DC/OS?

I'm not familiar with the ways DC/OS installations can be customized, and AFAICT, the GUI, CLI, CloudConfig, and "Advanced Install" methods do not have any hooks in place where the user can make changes.

Cody Maloney 
June 10, 2016 at 12:53 AM

W're trying to not put more load on our single central ZK than needed (it's really not a good thing from a cluster stability perspective), and having worked with docker for a while I really don't overly trust it to work really well with new features...

That said, If people are doing on-prem installs where they configure docker, there's no reason why they can't setup all of this themselves / configure how the docker works to do it.

DC/OS and Mesos are also trying to move towards the Mesos Unified containerizer: http://mesos.apache.org/documentation/latest/container-image/, so I'd rather not make things more specialized for the network case.

tl;dr: don't think we should enabled cluster store globally. That said, on-prem / manual install people are definitely welcome to configure it if they want.

Won't Do

Details

Assignee

Created June 8, 2016 at 5:45 PM
Updated October 5, 2016 at 1:18 AM
Resolved October 5, 2016 at 1:18 AM