mirror of https://github.com/docker/cli.git
cli.md: Add another sudo
This commit is contained in:
parent
b8073c74a7
commit
c617aa0ea7
|
@ -498,7 +498,7 @@ Import to docker via pipe and *stdin*.
|
||||||
|
|
||||||
**Import from a local directory:**
|
**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
|
Note the `sudo` in this example – you must preserve
|
||||||
the ownership of the files (especially root ownership) during the
|
the ownership of the files (especially root ownership) during the
|
||||||
|
|
Loading…
Reference in New Issue