docs/doc/source/deploy_install_guides/release/bare_metal/bootstrapping-from-a-private-docker-registry.rst
Ron Stone f98eb51fb4 Simplify install dirs
Simplify install doc dir structure
- Remove r6 directory
- Rename r7 directory to be non release-specific
- Delete unused files
- Delete obsolete include files
- Delete obsolete commented sections in install topics
- Remove redundent version menu entry

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: I59634826d4b3af41410e9d26cc182f6b4aed8ade
2023-01-04 07:30:40 -05:00

1.7 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.

  1. 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
    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 the dns_servers: structure of the ansible bootstrap override file /home/sysadmin/localhost.yml.

  2. 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>