Created
October 1, 2017 12:54
-
-
Save naa0yama/58f67decbae6b096c72b76e4c9e0a162 to your computer and use it in GitHub Desktop.
Rancher 2.0 と戯れてみる ref: http://qiita.com/FoxBoxsnet/items/88b35e52fa075077fccb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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*********** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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