mirror of
https://github.com/docker/cli.git
synced 2026-09-01 18:14:34 -05:00
changed the title prefix to sufix + Documentation Upstream-commit: 18cb5c9314dbc9a0aa857211b124a3feb85c5274 Component: engine
28 lines
741 B
ReStructuredText
28 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"
|
|
|