docs: build: ADD copies just needed data w/ full path
Upstream-commit: 4b3a381f39bc90b36877f4832fe5c53de65a1ec3 Component: engine
This commit is contained in:
@ -22,6 +22,7 @@ Examples
|
||||
| This will read the Dockerfile from the current directory. It will also send any other files and directories found in the current directory to the docker daemon.
|
||||
| The contents of this directory would be used by ADD commands found within the Dockerfile.
|
||||
| This will send a lot of data to the docker daemon if the current directory contains a lot of data.
|
||||
| If the absolute path is provided instead of '.', only the files and directories required by the ADD commands from the Dockerfile will be added to the context and transferred to the docker daemon.
|
||||
|
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
Reference in New Issue
Block a user