File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,9 @@ To run the `docker run` command on Windows, you need to adjust the syntax for th
57
57
### Steps for Windows:
58
58
1. **Check Docker Installation**: Ensure Docker is installed and running.
59
59
2. **Adjust Path for Volume Mapping**:
60
+
60
61
- On Windows, replace `$(pwd)` with the full absolute path to your current directory. For example:
62
+
61
63
```bash
62
64
-v C:\path\to\your\site:/usr/src/app
63
65
```
@@ -68,7 +70,7 @@ docker run -p 4000:4000 --rm -v C:\path\to\your\site:/usr/src/app jekyll-site
68
70
```
69
71
70
72
### Things to Keep in Mind:
71
- 1. **Use PowerShell? **:
73
+ 1. **Use PowerShell**:
72
74
- If you are using PowerShell, you can use `${PWD}` for the current directory:
73
75
```bash
74
76
docker run -p 4000:4000 --rm -v ${PWD}:/usr/src/app jekyll-site
@@ -82,10 +84,12 @@ docker run -p 4000:4000 --rm -v C:\path\to\your\site:/usr/src/app jekyll-site
82
84
83
85
3. ** Run in Command Prompt or PowerShell** :
84
86
- In * Command Prompt* :
87
+
85
88
` ` ` bash
86
89
docker run -p 4000:4000 --rm -v C:\p ath\t o\y our\s ite:/usr/src/app jekyll-site
87
90
` ` `
88
91
- In * PowerShell* :
92
+
89
93
` ` ` bash
90
94
docker run -p 4000:4000 --rm -v ${PWD} :/usr/src/app jekyll-site
91
95
` ` `
You can’t perform that action at this time.
0 commit comments