Refactoor linking for DS use. Change-Id: I6de5813fb7df5741e13d34163545d2402a4fd6c5 Signed-off-by: Ron Stone <ronald.stone@windriver.com>
2.0 KiB
Bootstrapping from a Private Docker Registry
You can bootstrap controller-0 from a private Docker registry in the event that your server is isolated from the public Internet.
Note
The private docker registry name must not end with ".local" to ensure that the domain name is properly resolved using external DNS.
Update your
/home/sysadmin/localhost.yml
bootstrap overrides file with the following lines to use a Private Docker Registry pre-populated from the Docker Registry:docker_registries: k8s.gcr.io: url: <my-registry.io>/k8s.gcr.io gcr.io: url: <my-registry.io>/gcr.io ghcr.io: url: <my-registry.io>/ghcr.io quay.io: url: <my-registry.io>/quay.io docker.io: url: <my-registry.io>/docker.io docker.elastic.co: url: <my-registry.io>/docker.elastic.co registry.k8s.io: url: <my-registry.io>/registry.k8s.io icr.io: url: <my-registry.io>/icr.io defaults: type: docker username: <your_my-registry.io_username> password: <your_my-registry.io_password>
Where
<your_my-registry.io_username>
and<your_my-registry.io_password>
are your login credentials for the<my-registry.io>
private Docker registry.Note
<my-registry.io>
must be a DNS name resolvable by the dns servers configured in thedns_servers:
structure of the ansible bootstrap override file/home/sysadmin/localhost.yml
.For any additional local registry images required, use the full image name as shown below.
additional_local_registry_images: docker.io/wind-river/<imageName>:<tag>