ConfigurationRegistriesLSCR

LSCR (LinuxServer Container Registry)

The lscr registry lets you configure LSCR integration.

logo

The lscr registry lets you configure LSCR integration.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_REGISTRY_LSCR_{REGISTRY_NAME}_USERNAMEGitHub username (required for private images)
DD_REGISTRY_LSCR_{REGISTRY_NAME}_TOKENGitHub token (required for private images)GitHub password or GitHub Personal Token

Examples

services:
  drydock:
    image: codeswhat/drydock
    ...
    environment:
      - DD_REGISTRY_LSCR_PRIVATE_USERNAME=johndoe
      - DD_REGISTRY_LSCR_PRIVATE_TOKEN=xxxxx 
docker run \
  -e DD_REGISTRY_LSCR_PRIVATE_USERNAME="johndoe" \
  -e DD_REGISTRY_LSCR_PRIVATE_TOKEN="xxxxx" \
  ...
  codeswhat/drydock

How to create a GitHub Personal Token

Go to your GitHub settings and open the Personal Access Token tab

Open GitHub Personal Access Tokens

Click on Generate new token

Choose an expiration time & appropriate scopes (read:packages is only needed for drydock) and generate. image

Copy the token & use it as the DD_REGISTRY_LSCR_{REGISTRY_NAME}_TOKEN value

image