Forráskód Böngészése

Dockerfile documentation typo and content fix

Signed-off-by: Oh Jinkyun <tintypemolly@gmail.com>
Oh Jinkyun 11 éve
szülő
commit
476f1df36f
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      docs/man/Dockerfile.5.md

+ 2 - 2
docs/man/Dockerfile.5.md

@@ -97,7 +97,7 @@ or
   **FROM ubuntu**
   **FROM ubuntu**
   **CMD echo "This is a test." | wc -**
   **CMD echo "This is a test." | wc -**
   If you run <command> without a shell, then you must express the command as a
   If you run <command> without a shell, then you must express the command as a
-  JSON arry and give the full path to the executable. This array form is the
+  JSON array and give the full path to the executable. This array form is the
   preferred form of CMD. All additional parameters must be individually expressed
   preferred form of CMD. All additional parameters must be individually expressed
   as strings in the array:
   as strings in the array:
   **FROM ubuntu**
   **FROM ubuntu**
@@ -177,7 +177,7 @@ or
  -- **WORKDIR /path/to/workdir**
  -- **WORKDIR /path/to/workdir**
  The WORKDIR instruction sets the working directory for the **RUN**, **CMD**, and **ENTRYPOINT** Dockerfile commands that follow it.
  The WORKDIR instruction sets the working directory for the **RUN**, **CMD**, and **ENTRYPOINT** Dockerfile commands that follow it.
  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:
  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:
- **WORKDIR /a WORKDIR /b WORKDIR c RUN pwd** 
+ **WORKDIR /a WORKDIR b WORKDIR c RUN pwd** 
  In the above example, the output of the **pwd** command is **a/b/c**.
  In the above example, the output of the **pwd** command is **a/b/c**.
 
 
 **ONBUILD**
 **ONBUILD**