Browse Source

Fixed typo in Dockerfile example

Docker-DCO-1.1-Signed-off-by: Rob Cannon <rpcann@gmail.com> (github: robpc)

The 'true' command is located in /bin not /usr/bin in the busybox image.
robpc 11 years ago
parent
commit
1475dafd52
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/sources/use/working_with_volumes.rst

+ 1 - 1
docs/sources/use/working_with_volumes.rst

@@ -50,7 +50,7 @@ volumes to any container created from that image::
   # RUN-USING:          docker run -name DATA data 
   # RUN-USING:          docker run -name DATA data 
   FROM          busybox
   FROM          busybox
   VOLUME        ["/var/volume1", "/var/volume2"]
   VOLUME        ["/var/volume1", "/var/volume2"]
-  CMD           ["/usr/bin/true"]
+  CMD           ["/bin/true"]
 
 
 Creating and mounting a Data Volume Container
 Creating and mounting a Data Volume Container
 ---------------------------------------------
 ---------------------------------------------