Added small doc page for DOCKER_INDEX_URL variable
Upstream-commit: e6324ff400c208713061e8b517435da87855ce56 Component: engine
This commit is contained in:
committed by
Guillaume J. Charmes
parent
cfa86c4776
commit
468a9ebbc8
23
components/engine/docs/sources/index/variable.rst
Normal file
23
components/engine/docs/sources/index/variable.rst
Normal file
@ -0,0 +1,23 @@
|
||||
=================================
|
||||
Docker Index Environment Variable
|
||||
=================================
|
||||
|
||||
Variable
|
||||
--------
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
DOCKER_INDEX_URL
|
||||
|
||||
Setting this environment variable on the docker server will change the URL docker index.
|
||||
This address is used in commands such as ``docker login``, ``docker push`` and ``docker pull``.
|
||||
The docker daemon doesn't need to be restarted for this parameter to take effect.
|
||||
|
||||
Example
|
||||
-------
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
docker -d &
|
||||
export DOCKER_INDEX_URL="https://index.docker.io"
|
||||
|
||||
Reference in New Issue
Block a user