Merge pull request #5566 from felixrabe/patch-5
cli.md: Add another sudo Upstream-commit: 069400a7ace488799233b4c1a279ac74b3a73ad8 Component: engine
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user