Charles, It should be possible. Here are the global 'object' that might conflict: 1) cgroup (you can use different cgroup root) 2) work_dir and runime_dir (you can set them to be different between agents) 3) network (e.g., iptables, if you use host network, should not be a problem. Otherwise, you might need to configure your network isolator properly)
But we haven't tested. Another potential thing that might come up is the code that rely on hostname of the agent (MachineID in maintenance primitive?) - Jie On Fri, Dec 9, 2016 at 12:11 PM, Charles Allen < [email protected]> wrote: > Is it possible to setup a machine such that multiple mesos agents are > running on the same machine and registering with the same master? > > For example, with different cgroup roots or different default working > directory. >

