Skip to content

Instantly share code, notes, and snippets.

@naa0yama
Created October 1, 2017 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naa0yama/58f67decbae6b096c72b76e4c9e0a162 to your computer and use it in GitHub Desktop.
Save naa0yama/58f67decbae6b096c72b76e4c9e0a162 to your computer and use it in GitHub Desktop.
Rancher 2.0 と戯れてみる ref: http://qiita.com/FoxBoxsnet/items/88b35e52fa075077fccb
#cloud-config
hostname: host001
rancher:
docker:
engine: docker-1.12.6
services:
console:
environment:
TZ: 'JST-9'
syslog:
environment:
TZ: 'JST-9'
ssh_authorized_keys:
- ssh-rsa AAAAB***********
sudo docker run -d \
--name rancher_server \ # docker の名前を rancher_server に
--restart=unless-stopped \ # 自動起動に
-p 8080:8080 \ #ポートの設定
rancher/server:v2.0.0-alpha7 # 今回は v2.0.0-alpha7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment