-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
feature: documentationmeta: staleThis issue/PR is stale and will be closed soonThis issue/PR is stale and will be closed soonself-hostedtype: feature requestNew feature or requestNew feature or request
Description
Describe the bug
When using a Dockerfile in your .gitpod.yml configuration while Gitpod is configured for an external Docker registry the following error appears:
Error: build failed: rpc error: code = Internal desc = cannot check base image exists: Error response from daemon: errors: denied: requested access to the resource is denied unauthorized: authentication required
This issue occurs if the custom Docker registry does not have the repositories workspace-images and base-images created prior. This was tested against Docker Trusted Registry specifically.
Steps to reproduce
- Deploy Gitpod self-hosted and configure for external Docker registry as follows:
components:
imageBuilder:
registryCerts: []
registry:
name: registry.domain.local/gitpod
secretName: external-registry-auth- Launch Gitpod workspace
Expected behavior
Workspace is expected to build the image and launch the workspace.
Additional information
Red Hat Enterprise Linux 7.8
Docker CE 19.03.13
Gitpod 0.5.0
Fix
Create the workspace-images and base-images repositories in Docker Trusted Registry
Recommendation
Add this to the documentation as a dependency for external registries.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature: documentationmeta: staleThis issue/PR is stale and will be closed soonThis issue/PR is stale and will be closed soonself-hostedtype: feature requestNew feature or requestNew feature or request