Docker Registries
You can find "Docker Registries" in the top "Security" menu when a project is selected.
Docker registry secrets allow you to configure access to private Docker registries. When creating a service, you can use these secrets to deploy containers from your private registries.
Configuration
To add access to a Docker registry:
- Click on "Create secret"
- Fill in the form with:
- Name: A name for your secret
- Login: Your registry username
- Registry URL: The URL of your registry (e.g.,
registry.gitlab.com
,ghcr.io
) - Password: Your registry password or token
For better security, it's recommended to create dedicated credentials with read-only access to your Docker repositories.
Usage
Once configured, you can use these credentials when creating a service to pull images from your private registry. The credentials will be automatically used when LayerOps needs to pull the container image.
For Docker Hub, you only need to configure credentials if you're using private repositories. Public repositories can be used without authentication.
Table of Contents