mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
540 B
540 B
Docker Index Environment Variable
Variable
DOCKER_INDEX_URLSetting 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
docker -d &
export DOCKER_INDEX_URL="https://index.docker.io"