How docker sets the default source

in previous versions:
docker Version: 1.12.6
can replace the default source of docker with your own private source.

on the new version:
docker version: 18.03.0-ce
seems unable to set its own private source as the default, and always uses docker.io

.

there are too many configurations on the Internet, which one is right?

Mar.19,2021
Menu