Signed-off-by: Oh Jinkyun <tintypemolly@gmail.com>
Oh Jinkyun authored on 2014/09/02 21:53:50... | ... |
@@ -97,7 +97,7 @@ or |
97 | 97 |
**FROM ubuntu** |
98 | 98 |
**CMD echo "This is a test." | wc -** |
99 | 99 |
If you run <command> without a shell, then you must express the command as a |
100 |
- JSON arry and give the full path to the executable. This array form is the |
|
100 |
+ JSON array and give the full path to the executable. This array form is the |
|
101 | 101 |
preferred form of CMD. All additional parameters must be individually expressed |
102 | 102 |
as strings in the array: |
103 | 103 |
**FROM ubuntu** |
... | ... |
@@ -177,7 +177,7 @@ or |
177 | 177 |
-- **WORKDIR /path/to/workdir** |
178 | 178 |
The WORKDIR instruction sets the working directory for the **RUN**, **CMD**, and **ENTRYPOINT** Dockerfile commands that follow it. |
179 | 179 |
It can be used multiple times in a single Dockerfile. Relative paths are defined relative to the path of the previous **WORKDIR** instruction. For example: |
180 |
- **WORKDIR /a WORKDIR /b WORKDIR c RUN pwd** |
|
180 |
+ **WORKDIR /a WORKDIR b WORKDIR c RUN pwd** |
|
181 | 181 |
In the above example, the output of the **pwd** command is **a/b/c**. |
182 | 182 |
|
183 | 183 |
**ONBUILD** |