瀏覽代碼

Merge pull request #9819 from huslage/remove-equal

Remove -t="" and -m="".
James Turnbull 10 年之前
父節點
當前提交
311d6276ad
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/sources/userguide/dockerimages.md

+ 2 - 2
docs/sources/userguide/dockerimages.md

@@ -192,7 +192,7 @@ Now we have a container with the change we want to make. We can then
 commit a copy of this container to an image using the `docker commit`
 commit a copy of this container to an image using the `docker commit`
 command.
 command.
 
 
-    $ sudo docker commit -m="Added json gem" -a="Kate Smith" \
+    $ sudo docker commit -m "Added json gem" -a "Kate Smith" \
     0b2616b0e5a8 ouruser/sinatra:v2
     0b2616b0e5a8 ouruser/sinatra:v2
     4f177bd27a9ff0f6dc2a830403925b5360bfe0b93d476f7fc3231110e7f71b1c
     4f177bd27a9ff0f6dc2a830403925b5360bfe0b93d476f7fc3231110e7f71b1c
 
 
@@ -273,7 +273,7 @@ Sinatra gem.
 
 
 Now let's take our `Dockerfile` and use the `docker build` command to build an image.
 Now let's take our `Dockerfile` and use the `docker build` command to build an image.
 
 
-    $ sudo docker build -t="ouruser/sinatra:v2" .
+    $ sudo docker build -t ouruser/sinatra:v2 .
     Sending build context to Docker daemon 2.048 kB
     Sending build context to Docker daemon 2.048 kB
     Sending build context to Docker daemon 
     Sending build context to Docker daemon 
     Step 0 : FROM ubuntu:14.04
     Step 0 : FROM ubuntu:14.04