mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #2730 from SvenDowideit/docker-insert-doc
Be more explicit about what insert does.
This commit is contained in:
commit
5da1ed3291
1 changed files with 7 additions and 0 deletions
|
@ -591,6 +591,12 @@ might not get preserved.
|
|||
|
||||
Insert a file from URL in the IMAGE at PATH
|
||||
|
||||
Use the specified IMAGE as the parent for a new image which adds a
|
||||
:ref:`layer <layer_def>` containing the new file. ``insert`` does not modify
|
||||
the original image, and the new image has the contents of the parent image,
|
||||
plus the new file.
|
||||
|
||||
|
||||
Examples
|
||||
~~~~~~~~
|
||||
|
||||
|
@ -600,6 +606,7 @@ Insert file from github
|
|||
.. code-block:: bash
|
||||
|
||||
$ sudo docker insert 8283e18b24bc https://raw.github.com/metalivedev/django/master/postinstall /tmp/postinstall.sh
|
||||
06fd35556d7b
|
||||
|
||||
.. _cli_inspect:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue