linux-on-ibm-z/dcos-mesos-modules

Name: dcos-mesos-modules

Owner: LinuxONE and Linux on z Systems Open-source Team

Description: Mesos Modules used in DC/OS

Created: 2016-09-29 11:42:23.0

Updated: 2016-09-29 11:42:24.0

Pushed: 2016-07-29 10:38:09.0

Homepage: null

Size: 26

Language: M4

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Remove .dockercfg Module

Module implementing slavePostFetchHook to remove .dockercfg files from the sandbox. The problem is that .dockercfg files might contain sensitive information and hence they should not be present in the users sandbox. Still the .dockercfg might be required for pulling the docker image from private registries. This hook, which is executed after the docker pull removes .dockercfg files from sandbox.

Setup

Building the module will generate a modules.json file in the removeDockerCfg subfolder in the build directory which should be used to specify the module to be used via the --modules agent flag. Additionally the user needs to specify which hooks should be specified by the --hooks agent flag. See the example below:

n/mesos-agent.sh
ster=master_ip:port \
dules=file://path/to/remove_docker_cfg/modules.json \
oks=com_mesosphere_dcos_RemoverHook

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.