mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
18cb5c9314
changed the title prefix to sufix + Documentation
27 lines
741 B
ReStructuredText
27 lines
741 B
ReStructuredText
:title: Index Environment Variable
|
|
:description: Setting this environment variable on the docker server will change the URL docker index.
|
|
:keywords: docker, index environment variable, documentation
|
|
|
|
=================================
|
|
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"
|
|
|