diff options
author | Solomon Hykes <solomon@dotcloud.com> | 2014-04-03 23:47:58 +0000 |
---|---|---|
committer | Solomon Hykes <solomon@dotcloud.com> | 2014-04-03 23:52:09 +0000 |
commit | 615ac8feb27b2b3db0c06b37ecd87b710eabffef (patch) | |
tree | a14f0401a139d28781f581a550cb0b0803dfeea4 /docs/sources | |
parent | a278656330271647b9001ca54bc6ee1447a28715 (diff) | |
download | docker-615ac8feb27b2b3db0c06b37ecd87b710eabffef.tar.gz |
Deprecate 'docker insert'
'docker insert' is an old command which predates 'docker build'. We no
longer recommend using it, it is not actively maintained, and can be
replaced with the combination of 'docker build' and 'ADD'.
This removes the command from usage and documentation, and prints a
warning when it is called.
The command still works but it will be removed in a future version.
Docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
Diffstat (limited to 'docs/sources')
-rw-r--r-- | docs/sources/reference/commandline/cli.rst | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/docs/sources/reference/commandline/cli.rst b/docs/sources/reference/commandline/cli.rst index 64dff1e1c2..09ef6e0679 100644 --- a/docs/sources/reference/commandline/cli.rst +++ b/docs/sources/reference/commandline/cli.rst @@ -753,34 +753,6 @@ preserved. WARNING: No swap limit support -.. _cli_insert: - -``insert`` ----------- - -:: - - Usage: docker insert IMAGE URL PATH - - 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. The ``insert`` command does -not modify the original image, and the new image has the contents of the parent -image, plus the new file. - - -Examples -~~~~~~~~ - -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: ``inspect`` |