Skip to content

Commit

Permalink
新增:在 Windows 上執行 Vagrant 的相關問題。
Browse files Browse the repository at this point in the history
Add: trouble shooting about running Vagrant under Windows.
  • Loading branch information
William-Yeh committed Mar 6, 2015
1 parent a2aba0b commit 2987e7a
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions config.md
Expand Up @@ -27,7 +27,21 @@
4. 幾秒鐘之內,你應該會被自動導引到自己帳號底下的 docker-workshop 專案。


### 步驟二:下載 workshop 範例程式
### 步驟二:開啟終端機,以進行後續步驟

Linux 使用者:請使用 xterm 或任何你慣用的終端機軟體。

Mac 使用者:請使用終端機 (Terminal)、iTerm 或任何你慣用的終端機軟體。

Windows 使用者:

1. 請先以「不含任何中文字」的使用者帳號,登入 Windows(否則會在某些 Vagrant 相關步驟出錯)。
2. 以『系統管理者』權限,打開【命令提示字元】軟體(否則**可能**會在某些 Vagrant 相關步驟出錯)。




### 步驟三:下載 workshop 範例程式

請先切換到你選定的工作目錄,譬如:

Expand All @@ -42,7 +56,8 @@
```


### 步驟三:切換至此 workshop 目錄

### 步驟四:切換至此 workshop 目錄

```shell
cd docker-workshop
Expand All @@ -61,7 +76,7 @@ cd docker-workshop



### 步驟四:安裝必要的 Vagrant 擴充套件
### 步驟五:安裝必要的 Vagrant 擴充套件

➤ 錄影 0:00~01:16 片段。

Expand All @@ -71,26 +86,26 @@ vagrant plugin install vagrant-vbox-snapshot
```


### 步驟五:初始化 Vagrant 虛擬機
### 步驟六:初始化 Vagrant 虛擬機

耗時最久的,就是這個步驟,請耐心等候。

➤ 錄影 01:23~57:25 片段。

- 如果你的電腦是 Mac 或 Linux:
- 如果你的電腦是 Mac 或 Linux,請輸入

```shell
./setup-vagrant
```

- 如果你的電腦是 Windows:
- 如果你的電腦是 Windows,請輸入

```shell
setup-vagrant
```


### 步驟六:快照 (snapshot)
### 步驟七:快照 (snapshot)

➤ 錄影 57:38~58:42 片段。

Expand All @@ -107,7 +122,7 @@ vagrant snapshot take registry 02/19-08:00
```


### 步驟七:確認 snapshot 已完成
### 步驟八:確認 snapshot 已完成

➤ 錄影 59:08~片尾。

Expand Down

0 comments on commit 2987e7a

Please sign in to comment.