Browse Source

cli.md: Add another sudo

Felix Rabe 11 năm trước cách đây
mục cha
commit
4706a1ad76
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      docs/sources/reference/commandline/cli.md

+ 1 - 1
docs/sources/reference/commandline/cli.md

@@ -498,7 +498,7 @@ Import to docker via pipe and *stdin*.
 
 **Import from a local directory:**
 
-    $ sudo tar -c . | docker import - exampleimagedir
+    $ sudo tar -c . | sudo docker import - exampleimagedir
 
 Note the `sudo` in this example – you must preserve
 the ownership of the files (especially root ownership) during the