Docker

Install Docker
Proxy of Docker daemon

Bootstrap

genconf/config.yaml:

---
agent_list:
  - 172.30.59.95
bootstrap_url: http://172.30.59.93:80
cluster_name: 'nautilus-szdc'
exhibitor_storage_backend: static
log_directory: /genconf/logs
master_discovery: static
master_list:
  - 172.30.59.94
ssh_port: 2581
ssh_user: dcos
use_proxy: 'true'
http_proxy: http://172.30.50.121:8080
https_proxy: http://172.30.50.121:8080
no_proxy: []

genconf/ip-detect:

#!/bin/sh

ip addr | grep -o '172\.30\.59\.[[:digit:]]*' | head -1
sudo bash dcos_generate_config.sh
sudo docker run -d -p 80:80 -v $PWD/genconf/serve:/usr/share/nginx/html:ro nginx

Master

sudo ln -sf /bin/tar /usr/bin/
sudo ln -sf /bin/ln /usr/bin/
sudo ln -sf /bin/mkdir /usr/bin/

Edit /opt/mesosphere/environment, add /usr/sbin/ to PATH.

curl -O http://172.30.60.93/dcos_install.sh
sudo bash dcos_install.sh master

Agent

curl -O http://172.30.60.93/dcos_install.sh
sudo bash dcos_install.sh slave