Update import/export section

Docker cp allows now to copy files from local filesystem to container
This commit is contained in:
Denis Gladkikh 2015-09-07 10:43:25 -07:00
parent c04adf7392
commit 42a3546c63

View file

@ -132,9 +132,7 @@ Restart policies on crashed docker instances are [covered here](http://container
### Import / Export ### Import / Export
There doesn't seem to be a way to use docker directly to import files into a container's filesystem. The closest thing is to mount a host file or directory as a data volume and copy it from inside the container. * [`docker cp`](http://docs.docker.com/reference/commandline/cp) copies files or folders between a container and the local filesystem..
* [`docker cp`](http://docs.docker.com/reference/commandline/cp) copies files or folders out of a container's filesystem.
* [`docker export`](https://docs.docker.com/reference/commandline/export) turns container filesystem into tarball archive stream to STDOUT. * [`docker export`](https://docs.docker.com/reference/commandline/export) turns container filesystem into tarball archive stream to STDOUT.
### Executing Commands ### Executing Commands