Installation¶
DC/OS E2E consists of a Python Library and a dcos-docker CLI.
The CLI works only with the Docker Backend, while the library supports multiple Backends.
The CLI can be installed with Homebrew on macOS, and the library and CLI can be installed together with pip
on any Linux and macOS.
Windows is not currently supported, but we provide instructions on using DC/OS E2E on Windows with Vagrant on particular Backends’ documentation.
CLI macOS With Homebrew¶
To install the CLI on macOS, install Homebrew.
Then install the latest stable version:
brew install https://raw.githubusercontent.com/mesosphere/dcos-e2e/master/dcosdocker.rb
To upgrade from an older version, run the following command:
brew upgrade https://raw.githubusercontent.com/mesosphere/dcos-e2e/master/dcosdocker.rb
Or the latest master
:
Homebrew installs the dependencies for the latest released version and so installing master
may not work.
brew install --HEAD https://raw.githubusercontent.com/mesosphere/dcos-e2e/master/dcosdocker.rb
Run dcos-docker doctor to make sure that your system is ready to go:
$ dcos-docker doctor
Library and CLI with Python¶
If the CLI has been installed with Homebrew, you do not need to install the library to use the CLI.
Requires Python 3.5.2+.
Check the Python version:
python3 --version
Optionally replace master
with a particular version of DC/OS E2E.
The latest release is 2018.05.10.1.
See available versions.
pip3 install git+https://github.com/mesosphere/dcos-e2e.git@master
Run dcos-docker doctor to make sure that your system is ready to go for the Docker backend:
$ dcos-docker doctor