Adding a hook inside the Docker containerizer is slightly more involved than the Mesos containerizer.
Docker executors/tasks perform plain-file logging in different places depending on whether the agent is in a Docker container itself
|Not in container||DockerContainerizerProcess::launchExecutorProcess|
|In container||Docker::run in a mesos-docker-executor process|
This means a ContainerLogger will need to be loaded or hooked into the mesos-docker-executor. Or we will need to change how piping in done in mesos-docker-executor.