Sign inSign up

dalekurt/dcos-cli

By dalekurt

Updated over 10 years ago

Mesosphere DCOS CLI

Image
0

328

dalekurt/dcos-cli repository overview

MIT license

DCOS CLI docker container

A simple Docker image based on Alpine used by Apollo for running Mesosphere DCOS command-line interface (CLI) to remotely manage your mesos cluster.

Usage

Running DCOS CLI

See all available commands:

docker run -it capgemini:dcos-cli

This image provides some values by default for your DCOS CLI config:

DCOS_CONFIG=/dcos-cli/.dcos/dcos.toml
SOURCES=${SOURCES:-'[ "https://github.com/mesosphere/multiverse/archive/master.zip", "https://github.com/mesosphere/universe/archive/version-1.x.zip",]'}
MESOS_MASTER_URL=${MESOS_MASTER_URL:-'http://127.0.0.1:5050'}
MARATHON_URL=${MARATHON_URL:-'http://127.0.0.1:8080'}
TOKEN=${TOKEN:-'1234'}
EMAIL=${EMAIL:-'[email protected]'}

You can override any value at run time as follows:

docker run -v `pwd`/chronos_config:/config \
           -e MESOS_MASTER_URL='http://172.31.1.11:5050' \
           -e MARATHON_URL='http://172.31.1.11:8080' \
           -it capgemini:dcos-cli package install --options=config --yes chronos
Why?

This Docker image allows to run DCOS CLI commands from any server using automation provisioning tools like Ansible with no necessity to install DCOS at runtime and without adding any dependency to our base images.

Tag summary

Content type

Image

Digest

Size

33.5 MB

Last updated

over 10 years ago

docker pull dalekurt/dcos-cli