You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
383 B

  1. export RANCHER_URL=http://localhost:8888
  2. #Create necessary folders for volume mounting
  3. mkdir -p /docker/mysql
  4. mkdir -p /docker/log
  5. chmod -R 777 /docker
  6. # install rancher cli
  7. curl -LkSs https://github.com/rancher/cli/releases/download/v0.6.11/rancher-linux-amd64-v0.6.11.tar.gz | tar -xz && mv -f ./rancher-v0.6.11/rancher /bin/rancher && rm -rf ./rancher-v0.6.11
  8. docker-compose up -d