Sfoglia il codice sorgente

Update the field 'CONTAINER ID' for docker ps

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
yuexiao-wang 8 anni fa
parent
commit
b3faa7755a
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      docs/reference/commandline/commit.md

+ 4 - 4
docs/reference/commandline/commit.md

@@ -49,7 +49,7 @@ created.  Supported `Dockerfile` instructions:
 ## Commit a container
 ## Commit a container
 
 
     $ docker ps
     $ docker ps
-    ID                  IMAGE               COMMAND             CREATED             STATUS              PORTS              NAMES
+    CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS              NAMES
     c3f279d17e0a        ubuntu:12.04        /bin/bash           7 days ago          Up 25 hours                            desperate_dubinsky
     c3f279d17e0a        ubuntu:12.04        /bin/bash           7 days ago          Up 25 hours                            desperate_dubinsky
     197387f1b436        ubuntu:12.04        /bin/bash           7 days ago          Up 25 hours                            focused_hamilton
     197387f1b436        ubuntu:12.04        /bin/bash           7 days ago          Up 25 hours                            focused_hamilton
     $ docker commit c3f279d17e0a  svendowideit/testimage:version3
     $ docker commit c3f279d17e0a  svendowideit/testimage:version3
@@ -62,7 +62,7 @@ created.  Supported `Dockerfile` instructions:
 
 
     {% raw %}
     {% raw %}
     $ docker ps
     $ docker ps
-    ID                  IMAGE               COMMAND             CREATED             STATUS              PORTS              NAMES
+    ICONTAINER ID       IMAGE               COMMAND             CREATED             STATUS              PORTS              NAMES
     c3f279d17e0a        ubuntu:12.04        /bin/bash           7 days ago          Up 25 hours                            desperate_dubinsky
     c3f279d17e0a        ubuntu:12.04        /bin/bash           7 days ago          Up 25 hours                            desperate_dubinsky
     197387f1b436        ubuntu:12.04        /bin/bash           7 days ago          Up 25 hours                            focused_hamilton
     197387f1b436        ubuntu:12.04        /bin/bash           7 days ago          Up 25 hours                            focused_hamilton
     $ docker inspect -f "{{ .Config.Env }}" c3f279d17e0a
     $ docker inspect -f "{{ .Config.Env }}" c3f279d17e0a
@@ -76,7 +76,7 @@ created.  Supported `Dockerfile` instructions:
 ## Commit a container with new `CMD` and `EXPOSE` instructions
 ## Commit a container with new `CMD` and `EXPOSE` instructions
 
 
     $ docker ps
     $ docker ps
-    ID                  IMAGE               COMMAND             CREATED             STATUS              PORTS              NAMES
+    CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS              NAMES
     c3f279d17e0a        ubuntu:12.04        /bin/bash           7 days ago          Up 25 hours                            desperate_dubinsky
     c3f279d17e0a        ubuntu:12.04        /bin/bash           7 days ago          Up 25 hours                            desperate_dubinsky
     197387f1b436        ubuntu:12.04        /bin/bash           7 days ago          Up 25 hours                            focused_hamilton
     197387f1b436        ubuntu:12.04        /bin/bash           7 days ago          Up 25 hours                            focused_hamilton
 
 
@@ -87,7 +87,7 @@ created.  Supported `Dockerfile` instructions:
     89373736e2e7f00bc149bd783073ac43d0507da250e999f3f1036e0db60817c0
     89373736e2e7f00bc149bd783073ac43d0507da250e999f3f1036e0db60817c0
 
 
     $ docker ps
     $ docker ps
-    ID                  IMAGE               COMMAND                 CREATED             STATUS              PORTS              NAMES
+    CONTAINER ID        IMAGE               COMMAND                 CREATED             STATUS              PORTS              NAMES
     89373736e2e7        testimage:version4  "apachectl -DFOREGROU"  3 seconds ago       Up 2 seconds        80/tcp             distracted_fermat
     89373736e2e7        testimage:version4  "apachectl -DFOREGROU"  3 seconds ago       Up 2 seconds        80/tcp             distracted_fermat
     c3f279d17e0a        ubuntu:12.04        /bin/bash               7 days ago          Up 25 hours                            desperate_dubinsky
     c3f279d17e0a        ubuntu:12.04        /bin/bash               7 days ago          Up 25 hours                            desperate_dubinsky
     197387f1b436        ubuntu:12.04        /bin/bash               7 days ago          Up 25 hours                            focused_hamilton
     197387f1b436        ubuntu:12.04        /bin/bash               7 days ago          Up 25 hours                            focused_hamilton